summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutFrame.cpp
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2020-07-27 05:04:26 +0100
committerAndreas Kling <kling@serenityos.org>2020-07-27 19:51:45 +0200
commita2b40de0cc902a71666b1b1034f103e6a8b69c7d (patch)
treea4463252693917e3a67ab22e269c1e686a2241c0 /Libraries/LibWeb/Layout/LayoutFrame.cpp
parentdb1b67e88a1ff9758b3a1cb58e99b35330e4b038 (diff)
downloadserenity-a2b40de0cc902a71666b1b1034f103e6a8b69c7d.zip
LibWeb: Add a whole bunch of HTML DOM bindings
Note that these aren't full implementations of the bindings. This mostly implements the low hanging fruit (namely, basic reflections) There are some attributes that should be USVString instead of DOMString. However, USVString is a slightly different definition of DOMString, so it should suffice for now.
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutFrame.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutFrame.cpp b/Libraries/LibWeb/Layout/LayoutFrame.cpp
index ae980b0ff7..2246982bcb 100644
--- a/Libraries/LibWeb/Layout/LayoutFrame.cpp
+++ b/Libraries/LibWeb/Layout/LayoutFrame.cpp
@@ -64,7 +64,7 @@ void LayoutFrame::paint(PaintContext& context, PaintPhase phase)
LayoutReplaced::paint(context, phase);
if (phase == PaintPhase::Foreground) {
- auto* hosted_document = node().hosted_document();
+ auto* hosted_document = node().content_document();
if (!hosted_document)
return;
auto* hosted_layout_tree = hosted_document->layout_node();