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

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.cpp

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/css/resolver/MatchedPropertiesCache.cpp
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.cpp b/Source/core/css/resolver/MatchedPropertiesCache.cpp
index 2bd1f9165f0c1f111384df3bda6a6b4a45888cb4..56a7f5bdd47d03e2da6da44cdd4461d78c4bca4f 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.cpp
+++ b/Source/core/css/resolver/MatchedPropertiesCache.cpp
@@ -89,7 +89,7 @@ void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* pa
if (++m_additionsSinceLastSweep >= maxAdditionsBetweenSweeps
&& !m_sweepTimer.isActive()) {
static const unsigned sweepTimeInSeconds = 60;
- m_sweepTimer.startOneShot(sweepTimeInSeconds);
+ m_sweepTimer.startOneShot(sweepTimeInSeconds, FROM_HERE);
}
ASSERT(hash);

Powered by Google App Engine
This is Rietveld 408576698