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

Unified Diff: third_party/WebKit/Source/core/frame/RootFrameViewport.cpp

Issue 2644243002: Move ScrollableArea timer to TaskRunnerTimer. (Closed)
Patch Set: use derived class in unique_ptr Created 3 years, 11 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/frame/RootFrameViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
index 48087123896eb6302f05b439858b3d39ce458998..1f4632132bb43eaf0d7c679da4023ffbf3a4fed0 100644
--- a/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
@@ -116,6 +116,10 @@ FloatQuad RootFrameViewport::localToVisibleContentQuad(
return viewportQuad;
}
+RefPtr<WebTaskRunner> RootFrameViewport::getTimerTaskRunner() const {
+ return layoutViewport().getTimerTaskRunner();
+}
+
int RootFrameViewport::horizontalScrollbarHeight(
OverlayScrollbarClipBehavior behavior) const {
return layoutViewport().horizontalScrollbarHeight(behavior);

Powered by Google App Engine
This is Rietveld 408576698