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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp

Issue 1730653002: Move squash preventing reasons out of compositing reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug and test fixes. Created 4 years, 10 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/platform/graphics/CompositingReasons.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp b/third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp
index a096b707ebdb7b1cbeca5548a0ede84c4454e988..56085320be95bd86a028864edbfe3d0ee99a301f 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp
@@ -69,51 +69,9 @@ const CompositingReasonStringMap kCompositingReasonStringMap[] = {
{ CompositingReasonNegativeZIndexChildren,
"negativeZIndexChildren",
"Parent with composited negative z-index content" },
- { CompositingReasonScrollsWithRespectToSquashingLayer,
- "scrollsWithRespectToSquashingLayer",
- "Cannot be squashed since this layer scrolls with respect to the squashing layer" },
- { CompositingReasonSquashingSparsityExceeded,
- "squashingSparsityExceeded",
- "Cannot be squashed as the squashing layer would become too sparse" },
- { CompositingReasonSquashingClippingContainerMismatch,
- "squashingClippingContainerMismatch",
- "Cannot be squashed because this layer has a different clipping container than the squashing layer" },
- { CompositingReasonSquashingOpacityAncestorMismatch,
- "squashingOpacityAncestorMismatch",
- "Cannot be squashed because this layer has a different opacity ancestor than the squashing layer" },
- { CompositingReasonSquashingTransformAncestorMismatch,
- "squashingTransformAncestorMismatch",
- "Cannot be squashed because this layer has a different transform ancestor than the squashing layer" },
- { CompositingReasonSquashingFilterMismatch,
- "squashingFilterAncestorMismatch",
- "Cannot be squashed because this layer has a different filter ancestor than the squashing layer, or this layer has a filter" },
- { CompositingReasonSquashingWouldBreakPaintOrder,
- "squashingWouldBreakPaintOrder",
- "Cannot be squashed without breaking paint order" },
- { CompositingReasonSquashingVideoIsDisallowed,
- "squashingVideoIsDisallowed",
- "Squashing video is not supported" },
- { CompositingReasonSquashedLayerClipsCompositingDescendants,
- "squashedLayerClipsCompositingDescendants",
- "Squashing a layer that clips composited descendants is not supported." },
- { CompositingReasonSquashingLayoutPartIsDisallowed,
- "squashingLayoutPartIsDisallowed",
- "Squashing a frame, iframe or plugin is not supported." },
- { CompositingReasonSquashingReflectionIsDisallowed,
- "squashingReflectionDisallowed",
- "Squashing a element with a reflection is not supported." },
- { CompositingReasonSquashingBlendingIsDisallowed,
- "squashingBlendingDisallowed",
- "Squashing a layer with blending is not supported." },
- { CompositingReasonSquashingNearestFixedPositionMismatch,
- "squashingNearestFixedPositionMismatch",
- "Cannot be squashed because this layer has a different nearest fixed position layer than the squashing layer" },
- { CompositingReasonScrollChildWithCompositedDescendants,
- "scrollChildWithCompositedDescendants",
- "Squashing a scroll child with composited descendants is not supported." },
- { CompositingReasonSquashingLayerIsAnimating,
- "squashingLayerIsAnimating",
- "Cannot squash into a layer that is animating." },
+ { CompositingReasonSquashingDisallowed,
+ "squashingDisallowed",
+ "Layer was separately composited because it could not be squashed." },
{ CompositingReasonTransformWithCompositedDescendants,
"transformWithCompositedDescendants",
"Has a transform that needs to be known by compositor because of composited descendants" },

Powered by Google App Engine
This is Rietveld 408576698