Index: third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp |
diff --git a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp |
deleted file mode 100644 |
index f8fc122a752e87e2638e173e12dc4478e39d88e5..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.cpp |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// 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 "bindings/core/v8/ExceptionState.h" |
- |
-namespace blink { |
- |
-PerspectiveTransformComponent* PerspectiveTransformComponent::create(const CSSLengthValue* length, ExceptionState& exceptionState) |
-{ |
- if (length->containsPercent()) { |
- exceptionState.throwTypeError("PerspectiveTransformComponent does not support CSSLengthValues with percent units"); |
- return nullptr; |
- } |
- return new PerspectiveTransformComponent(length); |
-} |
- |
-CSSFunctionValue* PerspectiveTransformComponent::toCSSValue() const |
-{ |
- CSSFunctionValue* result = CSSFunctionValue::create(CSSValuePerspective); |
- result->append(m_length->toCSSValue()); |
- return result; |
-} |
- |
-} // namespace blink |