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

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

Issue 1815293002: Revert of 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 08bd00cc2ee52594f479bc7a4e86354f73cfbdb0..7db7ff8cfcba5dc1d6b77569bd23183fc424a520 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -98,7 +98,7 @@ static CompositingQueryMode gCompositingQueryMode =
CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases;
struct SameSizeAsPaintLayer : DisplayItemClient {
- uint32_t bitFields1, bitFields2;
+ int bitFields;
void* pointers[9];
LayoutUnit layoutUnits[4];
IntSize size;
@@ -160,11 +160,8 @@ 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)
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698