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

Unified Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1209033009: Clear the groupedMapping parameter in layers when removed from the group (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch to enum Created 5 years, 5 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: Source/core/paint/DeprecatedPaintLayer.h
diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h
index 5b8b6dfef6119a9c4e04401781a1304f77fb0663..6012bcea544eaadf37272f5cbd5e2ed202d769df 100644
--- a/Source/core/paint/DeprecatedPaintLayer.h
+++ b/Source/core/paint/DeprecatedPaintLayer.h
@@ -316,7 +316,11 @@ public:
void ensureCompositedDeprecatedPaintLayerMapping();
void clearCompositedDeprecatedPaintLayerMapping(bool layerBeingDestroyed = false);
CompositedDeprecatedPaintLayerMapping* groupedMapping() const { return m_groupedMapping; }
- void setGroupedMapping(CompositedDeprecatedPaintLayerMapping* groupedMapping, bool layerBeingDestroyed = false);
+ enum SetGroupMappingOptions {
+ InvalidateLayerAndRemoveFromMapping,
+ DoNotInvalidateLayerAndRemoveFromMapping
+ };
+ void setGroupedMapping(CompositedDeprecatedPaintLayerMapping*, SetGroupMappingOptions);
bool hasCompositedMask() const;
bool hasCompositedClippingMask() const;
« no previous file with comments | « Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698