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

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

Issue 1987283003: Use counters for opacity with transform-style:preserve-3d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 59682ee208e3767913d76545ceead099bac6387e..3f844dca27c6e6bcf3078025ace2ac81cd4e7ee6 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -698,6 +698,11 @@ public:
}
void clearClipRectsCache() const { m_clipRectsCache.clear(); }
+ void dirty3DTransformedDescendantStatus();
+ // Both updates the status, and returns true if descendants of this have 3d.
+ bool update3DTransformedDescendantStatus();
+ bool has3DTransformedDescendant() const { DCHECK(!m_3DTransformedDescendantStatusDirty); return m_has3DTransformedDescendant; }
+
private:
// Bounding box in the coordinates of this layer.
LayoutRect logicalBoundingBox() const;
@@ -758,10 +763,6 @@ private:
bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* oldStyle);
void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& newStyle);
- void dirty3DTransformedDescendantStatus();
- // Both updates the status, and returns true if descendants of this have 3d.
- bool update3DTransformedDescendantStatus();
-
void removeAncestorOverflowLayer(const PaintLayer* removedLayer);
void updateOrRemoveFilterClients();
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698