Index: third_party/WebKit/Source/core/frame/Frame.h |
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h |
index 6e053b42031b7ddf3a29a5adbb6e59c85dd75c63..4582c192550f6b64f911f24c240b217532157f32 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.h |
+++ b/third_party/WebKit/Source/core/frame/Frame.h |
@@ -30,7 +30,6 @@ |
#include "core/CoreExport.h" |
#include "core/frame/FrameTypes.h" |
-#include "core/layout/api/LayoutPartItem.h" |
#include "core/loader/FrameLoaderTypes.h" |
#include "core/page/FrameTree.h" |
#include "platform/heap/Handle.h" |
@@ -47,6 +46,7 @@ class FrameHost; |
class FrameOwner; |
class HTMLFrameOwnerElement; |
class LayoutPart; |
+class LayoutPartItem; |
class KURL; |
class Page; |
class SecurityContext; |
@@ -120,10 +120,7 @@ public: |
// TODO(pilgrim) replace all instances of ownerLayoutObject() with ownerLayoutItem() |
// https://crbug.com/499321 |
LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that contains this frame. |
- LayoutPartItem ownerLayoutItem() const |
- { |
- return LayoutPartItem(this->ownerLayoutObject()); |
- } |
+ LayoutPartItem ownerLayoutItem() const; |
Settings* settings() const; // can be null |