| Index: third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h
|
| index 6b8cc09938187a417dc4626de3b9f8b3ecc2c397..5b2226e346feac64b1beb1caf80b79569e2390e5 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h
|
| @@ -50,7 +50,12 @@ class CORE_EXPORT CSSTransformComponent
|
|
|
| bool is2D() const { return Is2DComponentType(GetType()); }
|
|
|
| - String toString() const { return ToCSSValue()->CssText(); }
|
| + virtual String toString() const {
|
| + const CSSValue* result = ToCSSValue();
|
| + // TODO(meade): Remove this once all the number and length types are
|
| + // rewritten.
|
| + return result ? result->CssText() : "";
|
| + }
|
|
|
| virtual CSSFunctionValue* ToCSSValue() const = 0;
|
| virtual CSSMatrixComponent* asMatrix() const = 0;
|
|
|