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

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

Issue 2623043002: Fix first paint tracking for SPv2 (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
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 15577bc0b799cd74df9b336fc57929944c7c05bb..c2366ce0c2f9e08c0ebf6a53419f8805e24c8321 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -73,7 +73,6 @@
#include "core/paint/BoxReflectionUtils.h"
#include "core/paint/FilterEffectBuilder.h"
#include "core/paint/ObjectPaintInvalidator.h"
-#include "core/paint/PaintTiming.h"
#include "platform/LengthFunctions.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/geometry/FloatPoint3D.h"
@@ -3185,12 +3184,6 @@ void PaintLayer::clearNeedsRepaintRecursively() {
m_needsRepaint = false;
}
-PaintTiming* PaintLayer::paintTiming() {
- if (Node* node = layoutObject()->node())
- return &PaintTiming::from(node->document());
- return nullptr;
-}
-
#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
void PaintLayer::endShouldKeepAliveAllClientsRecursive() {
for (PaintLayer* child = firstChild(); child; child = child->nextSibling())

Powered by Google App Engine
This is Rietveld 408576698