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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp

Issue 1775013003: Implement -webkit-box-reflect as a filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make msvc dbg happy 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/layout/compositing/CompositingLayerAssigner.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
index d692b0dcf15a86bc342f241a6a78d274c26505c2..9f52edc41a5884628ef57099d8c1887698fa7c43 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
@@ -172,7 +172,7 @@ SquashingDisallowedReasons CompositingLayerAssigner::getReasonsPreventingSquashi
if (layer->renderingContextRoot() != squashingLayer.renderingContextRoot())
return SquashingDisallowedReasonRenderingContextMismatch;
- if (layer->hasFilter() || layer->filterAncestor() != squashingLayer.filterAncestor())
+ if (layer->hasFilterInducingProperty() || layer->filterAncestor() != squashingLayer.filterAncestor())
return SquashingDisallowedReasonFilterMismatch;
if (layer->nearestFixedPositionLayer() != squashingLayer.nearestFixedPositionLayer())

Powered by Google App Engine
This is Rietveld 408576698