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

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

Issue 1739893006: Skip PaintLayer empty paint phases if it previously painted nothing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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: 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 de95f67224ccc9f8f8476dcc18c9b67e21445a6f..7fb0af638fde438a863de9034d0455fd1d94ec5d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -160,8 +160,11 @@ PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject, PaintLayerType type)
, m_needsRepaint(false)
, m_previousPaintResult(PaintLayerPainter::FullyPainted)
, m_needsPaintPhaseDescendantOutlines(false)
+ , m_previousPaintPhaseDescendantOutlinesWasEmpty(false)
, m_needsPaintPhaseFloat(false)
+ , m_previousPaintPhaseFloatWasEmpty(false)
, m_needsPaintPhaseDescendantBlockBackgrounds(false)
+ , m_previousPaintPhaseDescendantBlockBackgroundsWasEmpty(false)
, m_hasDescendantWithClipPath(false)
, m_hasNonIsolatedDescendantWithBlendMode(false)
, m_hasAncestorWithClipPath(false)

Powered by Google App Engine
This is Rietveld 408576698