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

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

Issue 2705403003: Convert FrameView timer to UnspecedTimer frame-specific timer. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29ddba69decec3a8f4fbbd0b60c08dd5bb9df356..36332afdfb254d5a599313a381197571cfb02622 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -183,7 +183,9 @@ FrameView::FrameView(LocalFrame& frame)
m_stickyPositionObjectCount(0),
m_inputEventsScaleFactorForEmulation(1),
m_layoutSizeFixedToFrameSize(true),
- m_didScrollTimer(this, &FrameView::didScrollTimerFired),
+ m_didScrollTimer(TaskRunnerHelper::get(TaskType::UnspecedTimer, &frame),
+ this,
+ &FrameView::didScrollTimerFired),
m_needsUpdateWidgetGeometries(false),
m_horizontalScrollbarMode(ScrollbarAuto),
m_verticalScrollbarMode(ScrollbarAuto),
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698