| Index: third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp
|
| similarity index 51%
|
| rename from third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp
|
| rename to third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp
|
| index f8fc122a752e87e2638e173e12dc4478e39d88e5..4874bcf278f54cc0cb3c8fd3380bb503b1ecd634 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp
|
| @@ -2,22 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "core/css/cssom/PerspectiveTransformComponent.h"
|
| +#include "core/css/cssom/CSSPerspective.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
|
|
| namespace blink {
|
|
|
| -PerspectiveTransformComponent* PerspectiveTransformComponent::create(const CSSLengthValue* length, ExceptionState& exceptionState)
|
| +CSSPerspective* CSSPerspective::create(const CSSLengthValue* length, ExceptionState& exceptionState)
|
| {
|
| if (length->containsPercent()) {
|
| - exceptionState.throwTypeError("PerspectiveTransformComponent does not support CSSLengthValues with percent units");
|
| + exceptionState.throwTypeError("CSSPerspective does not support CSSLengthValues with percent units");
|
| return nullptr;
|
| }
|
| - return new PerspectiveTransformComponent(length);
|
| + return new CSSPerspective(length);
|
| }
|
|
|
| -CSSFunctionValue* PerspectiveTransformComponent::toCSSValue() const
|
| +CSSFunctionValue* CSSPerspective::toCSSValue() const
|
| {
|
| CSSFunctionValue* result = CSSFunctionValue::create(CSSValuePerspective);
|
| result->append(m_length->toCSSValue());
|
|
|