1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

LibWeb: Fix build with DEBUG_HIGHLIGHT_FOCUSED_FRAME

This commit is contained in:
Andreas Kling 2020-11-22 16:07:53 +01:00
parent a27d118085
commit e07d14f4d9

View file

@ -84,7 +84,7 @@ void FrameBox::paint(PaintContext& context, PaintPhase phase)
context.painter().restore();
#ifdef DEBUG_HIGHLIGHT_FOCUSED_FRAME
if (node().content_frame()->is_focused_frame()) {
if (dom_node().content_frame()->is_focused_frame()) {
context.painter().draw_rect(absolute_rect().to<int>(), Color::Cyan);
}
#endif