Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
index b62cac2a37481214d864a3459dbc508389f860fe..3a4e97e2b05326828e6db1638b3e1b69ee264845 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -196,7 +196,7 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl |
|| style.hasMask() |
|| style.clipPath() |
|| style.boxReflect() |
- || style.hasFilter() |
+ || style.hasFilterInducingProperty() |
|| style.hasBlendMode() |
|| style.hasIsolation() |
|| style.position() == FixedPosition |
@@ -228,7 +228,7 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl |
// FIXME: when dropping the -webkit prefix on transform-style, we should also have opacity < 1 cause flattening. |
if (style.preserves3D() && (style.overflowX() != OverflowVisible |
|| style.overflowY() != OverflowVisible |
- || style.hasFilter())) |
+ || style.hasFilterInducingProperty())) |
style.setTransformStyle3D(TransformStyle3DFlat); |
adjustStyleForEditing(style); |