| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index d70c43f78d2d162af1cc868f6750a8fcc26fb140..73eadb82abf268173cbe9afe94cb4a9eacf112a8 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -2149,7 +2149,7 @@ public:
|
| bool hasBlendMode() const { return blendMode() != WebBlendModeNormal; }
|
|
|
| // Motion utility functions.
|
| - bool hasOffsetPath() const { return offsetPath(); }
|
| + bool hasOffset() const { return (offsetPosition().x() != Length(Auto)) || offsetPath(); }
|
|
|
| // Direction utility functions.
|
| bool isLeftToRightDirection() const { return direction() == LTR; }
|
| @@ -2257,7 +2257,7 @@ public:
|
|
|
| // Filter/transform utility functions.
|
| bool has3DTransform() const { return m_rareNonInheritedData->m_transform->has3DTransform(); }
|
| - bool hasTransform() const { return hasTransformOperations() || hasOffsetPath() || hasCurrentTransformAnimation() || translate() || rotate() || scale(); }
|
| + bool hasTransform() const { return hasTransformOperations() || hasOffset() || hasCurrentTransformAnimation() || translate() || rotate() || scale(); }
|
| bool hasTransformOperations() const { return !m_rareNonInheritedData->m_transform->m_operations.operations().isEmpty(); }
|
| ETransformStyle3D usedTransformStyle3D() const { return hasGroupingProperty() ? TransformStyle3DFlat : transformStyle3D(); }
|
| bool transformDataEquivalent(const ComputedStyle& otherStyle) const { return m_rareNonInheritedData->m_transform == otherStyle.m_rareNonInheritedData->m_transform; }
|
|
|