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
Notes: sideshowbarker 2024-07-19 01:18:55 +09:00

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