Chromium Code Reviews| Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h |
| diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h |
| index 58cc5e76d27aec242552e9c05f23a88df192714e..cf5917f743ae4bfce734db0a997115746a376664 100644 |
| --- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h |
| +++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h |
| @@ -13,7 +13,7 @@ |
| namespace blink { |
| class Element; |
| -class FrameHost; |
| +class Page; |
| class GraphicsLayer; |
| class PaintLayer; |
| class RootFrameViewport; |
| @@ -30,7 +30,7 @@ class ViewportScrollCallback; |
| class CORE_EXPORT TopDocumentRootScrollerController |
| : public GarbageCollected<TopDocumentRootScrollerController> { |
| public: |
| - static TopDocumentRootScrollerController* create(FrameHost&); |
| + static TopDocumentRootScrollerController* create(Page&); |
| DECLARE_TRACE(); |
| @@ -78,7 +78,7 @@ class CORE_EXPORT TopDocumentRootScrollerController |
| IntSize rootScrollerVisibleArea() const; |
| private: |
| - TopDocumentRootScrollerController(FrameHost&); |
| + TopDocumentRootScrollerController(Page&); |
| // Calculates the Element that should be the globalRootScroller. On a |
| // simple page, this will simply the root frame's effectiveRootScroller but |
| @@ -106,7 +106,7 @@ class CORE_EXPORT TopDocumentRootScrollerController |
| // Element. |
| WeakMember<Element> m_globalRootScroller; |
| - WeakMember<FrameHost> m_frameHost; |
| + WeakMember<Page> m_page; |
|
haraken
2017/03/08 06:15:48
Not related to this CL, I don't understand why thi
sashab
2017/03/08 23:39:31
Haha, I thought the same thing when I saw this! Le
|
| }; |
| } // namespace blink |