summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutDocument.h')
-rw-r--r--Libraries/LibWeb/Layout/LayoutDocument.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutDocument.h b/Libraries/LibWeb/Layout/LayoutDocument.h
index 0527d7feec..ed8bbdf796 100644
--- a/Libraries/LibWeb/Layout/LayoutDocument.h
+++ b/Libraries/LibWeb/Layout/LayoutDocument.h
@@ -40,7 +40,9 @@ public:
virtual const char* class_name() const override { return "LayoutDocument"; }
virtual void layout(LayoutMode = LayoutMode::Default) override;
- virtual void render(RenderingContext&) override;
+ void paint_all_phases(RenderingContext&);
+
+ virtual void render(RenderingContext&, PaintPhase) override;
const LayoutRange& selection() const { return m_selection; }
LayoutRange& selection() { return m_selection; }