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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/DocumentTiming.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 6522841dce523e01a939a8c3b70c455b9598fa32..2cd8105f2fbaf04d179568e61130dd8f8bbe1c5f 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1953,24 +1953,6 @@ void Document::layoutUpdated()
}
}
-void Document::markFirstPaint()
-{
- if (m_documentTiming.firstPaint() == 0)
- m_documentTiming.markFirstPaint();
-}
-
-void Document::markFirstTextPaint()
-{
- if (m_documentTiming.firstTextPaint() == 0)
- m_documentTiming.markFirstTextPaint();
-}
-
-void Document::markFirstImagePaint()
-{
- if (m_documentTiming.firstImagePaint() == 0)
- m_documentTiming.markFirstImagePaint();
-}
-
void Document::setNeedsFocusedElementCheck()
{
setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Focus));
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/DocumentTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698