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

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

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 9 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 | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/SuspendableTimer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index b2cb7359a68f53b55c55af84554c523b8af8c1e1..7746f348bf0c895e4966c9ba283bd36ddec8831a 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -843,7 +843,7 @@ void FrameView::scheduleOrPerformPostLayoutTasks()
// defer widget updates and event dispatch until after we return. postLayoutTasks()
// can make us need to update again, and we can get stuck in a nasty cycle unless
// we call it through the timer here.
- m_postLayoutTasksTimer.startOneShot(0);
+ m_postLayoutTasksTimer.startOneShot(0, FROM_HERE);
if (!partialLayout().isStopping() && needsLayout())
layout();
}
@@ -1666,7 +1666,7 @@ void FrameView::scrollPositionChanged()
if (m_didScrollTimer.isActive())
m_didScrollTimer.stop();
- m_didScrollTimer.startOneShot(resourcePriorityUpdateDelayAfterScroll);
+ m_didScrollTimer.startOneShot(resourcePriorityUpdateDelayAfterScroll, FROM_HERE);
if (AXObjectCache* cache = m_frame->document()->existingAXObjectCache())
cache->handleScrollPositionChanged(this);
@@ -2053,7 +2053,7 @@ void FrameView::performPostLayoutTasks()
return;
if (!m_updateWidgetsTimer.isActive())
- m_updateWidgetsTimer.startOneShot(0);
+ m_updateWidgetsTimer.startOneShot(0, FROM_HERE);
if (Page* page = m_frame->page()) {
if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordinator())
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/SuspendableTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698