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

Unified Diff: Source/core/layout/compositing/CompositingReasonFinder.cpp

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master and explicit applyTransform parameters Created 5 years, 6 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: Source/core/layout/compositing/CompositingReasonFinder.cpp
diff --git a/Source/core/layout/compositing/CompositingReasonFinder.cpp b/Source/core/layout/compositing/CompositingReasonFinder.cpp
index 9d25f0ec5dbfd88b91839b23d1f48cbdfb4ddc2c..2ee8a745cad1a0f6daf29e6f0eaa79050ac09f2b 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()->has3DTransform();
}
CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(const DeprecatedPaintLayer* layer) const

Powered by Google App Engine
This is Rietveld 408576698