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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index e9af56f59fac9f39a92d03b2917a03a4708c5416..f675f8623973c313daf5ec670f565a97d0cc926c 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -592,6 +592,10 @@ FloatQuad FrameView::localToVisibleContentQuad(
return result;
}
+RefPtr<WebTaskRunner> FrameView::getTimerTaskRunner() const {
+ return TaskRunnerHelper::get(TaskType::UnspecedTimer, m_frame.get());
+}
+
void FrameView::setCanHaveScrollbars(bool canHaveScrollbars) {
m_canHaveScrollbars = canHaveScrollbars;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/frame/RootFrameViewport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698