Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h

Issue 1895323002: Viewport apply scroll should be on the document element not scrollingElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
index 979da5f521df84f1f768f5853a131385d7af9d38..e2bd270cfc88fce789d9d62343c9b955c4275fb8 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
@@ -20,7 +20,7 @@ class ScrollState;
class ViewportScrollCallback : public ScrollStateCallback {
public:
- ViewportScrollCallback(Document&, FrameHost&);
+ ViewportScrollCallback(Document&);
~ViewportScrollCallback();
void handleEvent(ScrollState*) override;
@@ -32,8 +32,6 @@ private:
ScrollableArea* getRootFrameViewport() const;
WeakMember<Document> m_document;
- WeakMember<FrameHost> m_frameHost;
-
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698