| Index: Source/core/style/ComputedStyle.cpp
|
| diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp
|
| index 5ee956de7ea7e9ea4c5070d1514b1466d00e9f4f..342cd0056ccd950281007948e88379902baa3259 100644
|
| --- a/Source/core/style/ComputedStyle.cpp
|
| +++ b/Source/core/style/ComputedStyle.cpp
|
| @@ -897,6 +897,20 @@ bool ComputedStyle::hasWillChangeCompositingHint() const
|
| return false;
|
| }
|
|
|
| +bool ComputedStyle::hasWillChangeTransformHint() const
|
| +{
|
| + for (const auto& property: rareNonInheritedData->m_willChange->m_properties) {
|
| + switch (property) {
|
| + case CSSPropertyTransform:
|
| + case CSSPropertyAliasWebkitTransform:
|
| + return true;
|
| + default:
|
| + break;
|
| + }
|
| + }
|
| + return false;
|
| +}
|
| +
|
| bool ComputedStyle::requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPath applyMotionPath) const
|
| {
|
| const Vector<RefPtr<TransformOperation>>& transformOperations = transform().operations();
|
|
|