| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index 1a2ac756ebe0ce1ecfac18df0090bdcd735442e3..3307c137828355251b12fbd9008855621b3e4262 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -133,7 +133,7 @@ void PaintPropertyTreeBuilder::updateTransform(const LayoutObject& object, Paint
|
| }
|
| } else {
|
| const ComputedStyle& style = object.styleRef();
|
| - if (object.isBox() && (style.hasTransform() || style.preserves3D())) {
|
| + if (object.canTransform() && (style.hasTransform() || style.preserves3D())) {
|
| TransformationMatrix matrix;
|
| style.applyTransform(matrix, toLayoutBox(object).size(), ComputedStyle::ExcludeTransformOrigin,
|
| ComputedStyle::IncludeMotionPath, ComputedStyle::IncludeIndependentTransformProperties);
|
|
|