Chromium Code Reviews| Index: Source/core/layout/compositing/CompositingReasonFinder.cpp |
| diff --git a/Source/core/layout/compositing/CompositingReasonFinder.cpp b/Source/core/layout/compositing/CompositingReasonFinder.cpp |
| index 9d25f0ec5dbfd88b91839b23d1f48cbdfb4ddc2c..e05b6573ce124277986ea91339cccbe349a5fc69 100644 |
| --- a/Source/core/layout/compositing/CompositingReasonFinder.cpp |
| +++ b/Source/core/layout/compositing/CompositingReasonFinder.cpp |
| @@ -143,7 +143,7 @@ bool CompositingReasonFinder::requiresCompositingForTransform(LayoutObject* layo |
| { |
| // Note that we ask the layoutObject if it has a transform, because the style may have transforms, |
| // but the layoutObject may be an inline that doesn't support them. |
| - return layoutObject->hasTransformRelatedProperty() && layoutObject->style()->transform().has3DOperation(); |
| + return layoutObject->hasTransformRelatedProperty() && (layoutObject->style()->transform().has3DOperation() || layoutObject->style()->has3DTransformProperties()); |
|
Eric Willigers
2015/06/05 01:58:23
Why not ensure hasTransformRelatedProperty returns
soonm
2015/06/10 04:09:32
hasTransformProperty will return True because I mo
|
| } |
| CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(const DeprecatedPaintLayer* layer) const |