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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentTiming.cpp

Issue 1456883002: Move paint-related timings out of DocumentTiming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/dom/DocumentTiming.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentTiming.cpp b/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
index 1b339f42915f8070220a9c917045e120865a6a33..a047e59a3ec400b0db66b7f9e24801fb0ccaaa96 100644
--- a/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
@@ -75,25 +75,4 @@ void DocumentTiming::markFirstLayout()
notifyDocumentTimingChanged();
}
-void DocumentTiming::markFirstPaint()
-{
- m_firstPaint = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "firstPaint", m_firstPaint, "frame", frame());
- notifyDocumentTimingChanged();
-}
-
-void DocumentTiming::markFirstTextPaint()
-{
- m_firstTextPaint = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "firstTextPaint", m_firstTextPaint, "frame", frame());
- notifyDocumentTimingChanged();
-}
-
-void DocumentTiming::markFirstImagePaint()
-{
- m_firstImagePaint = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "firstImagePaint", m_firstImagePaint, "frame", frame());
- notifyDocumentTimingChanged();
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698