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

Unified Diff: Source/core/rendering/compositing/CompositingState.h

Issue 708213002: Remove the HasOwnBackingButPaintsIntoAncestor compositing state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed more tests. Created 6 years, 1 month 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/rendering/compositing/CompositingState.h
diff --git a/Source/core/rendering/compositing/CompositingState.h b/Source/core/rendering/compositing/CompositingState.h
index 9e2cb4be95a4a467b98db5c45b5fe683c4b6c24d..b56514b9a4d1ff1208aa6c34c38b2418c91f1f28 100644
--- a/Source/core/rendering/compositing/CompositingState.h
+++ b/Source/core/rendering/compositing/CompositingState.h
@@ -11,17 +11,11 @@ enum CompositingState {
// The layer paints into its enclosing composited ancestor.
NotComposited = 0,
- // The layer is composited, but its contents still paint into enclosing composited ancestor.
- // In this state, paint invalidations must be sent to the enclosing composited ancestor.
- // Typically this happens when a layer's properties need to be represented in the compositor
- // output data structures, but it doesn't actually have any other reasons to be composited.
- HasOwnBackingButPaintsIntoAncestor = 1,
-
- PaintsIntoOwnBacking = 2,
+ PaintsIntoOwnBacking = 1,
// In this state, the RenderLayer subtree paints into a backing that is shared by
// several RenderLayer subtrees.
- PaintsIntoGroupedBacking = 3
+ PaintsIntoGroupedBacking = 2
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698