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

Unified Diff: third_party/WebKit/Source/core/paint/PaintTiming.cpp

Issue 2645803003: Move FirstMeaningfulPaintDetector timer to frame-specific TaskRunnerTimer (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp ('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/paint/PaintTiming.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintTiming.cpp b/third_party/WebKit/Source/core/paint/PaintTiming.cpp
index 7edb78768dcbd61df1fee263c7d9ea3cd78e6cc3..60923e0ce23c35760391ffefe1433cd337e56add 100644
--- a/third_party/WebKit/Source/core/paint/PaintTiming.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintTiming.cpp
@@ -120,7 +120,7 @@ DEFINE_TRACE(PaintTiming) {
PaintTiming::PaintTiming(Document& document)
: Supplement<Document>(document),
- m_fmpDetector(new FirstMeaningfulPaintDetector(this)) {}
+ m_fmpDetector(new FirstMeaningfulPaintDetector(this, document)) {}
LocalFrame* PaintTiming::frame() const {
return supplementable()->frame();
« no previous file with comments | « third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698