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 16a6b5cd051f9eff96e9ca5158dba9aef41566a5..ee808e44264357eee823f4730d57dec70325e023 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.cpp |
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp |
@@ -40,6 +40,7 @@ |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InstanceCounters.h" |
#include "core/layout/LayoutPart.h" |
+#include "core/layout/api/LayoutPartItem.h" |
#include "core/loader/EmptyClients.h" |
#include "core/loader/FrameLoaderClient.h" |
#include "core/loader/NavigationScheduler.h" |
@@ -285,6 +286,11 @@ LayoutPart* Frame::ownerLayoutObject() const |
return toLayoutPart(object); |
} |
+LayoutPartItem Frame::ownerLayoutItem() const |
+{ |
+ return LayoutPartItem(ownerLayoutObject()); |
+} |
+ |
Settings* Frame::settings() const |
{ |
if (m_host) |