Index: third_party/WebKit/Source/core/frame/Frame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp |
index 088d8401f448e15a1ef0f971e51d5bbc7c6bdd70..8ee206d575ea44f24a053e9fd92419be6ee40cb2 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.cpp |
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp |
@@ -384,8 +384,8 @@ LayoutPartItem Frame::ownerLayoutItem() const { |
} |
Settings* Frame::settings() const { |
- if (m_host) |
- return &m_host->settings(); |
+ if (page()) |
+ return &page()->settings(); |
return nullptr; |
} |