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

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

Issue 1970763002: Fixed up root scroller API to be more webby (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sigh...fix test expectation again, fix crash when there's no renderer Created 4 years, 6 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.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
index 663c55f5fc8ea71cbd6732342a3ab3728a2199e8..77572aed0c5571f8c19e15978303f666aed79649 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.cpp
@@ -96,9 +96,9 @@ void ViewportScrollCallback::handleEvent(ScrollState* state)
state->deltaY() - result.unusedScrollDeltaY);
}
-void ViewportScrollCallback::setScroller(ScrollableArea& scroller)
+void ViewportScrollCallback::setScroller(ScrollableArea* scroller)
{
- m_scroller = &scroller;
+ m_scroller = scroller;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698