From e07d14f4d93c8eb4fc6896b866d36aa8303d6170 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 22 Nov 2020 16:07:53 +0100 Subject: [PATCH] LibWeb: Fix build with DEBUG_HIGHLIGHT_FOCUSED_FRAME --- Libraries/LibWeb/Layout/FrameBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/Layout/FrameBox.cpp b/Libraries/LibWeb/Layout/FrameBox.cpp index fb475014e8..79ad0e1815 100644 --- a/Libraries/LibWeb/Layout/FrameBox.cpp +++ b/Libraries/LibWeb/Layout/FrameBox.cpp @@ -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(), Color::Cyan); } #endif