| Index: third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
|
| deleted file mode 100644
|
| index d7c2617e7e77aff6c7dbe007790b67dc7ff1b8d9..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
|
| +++ /dev/null
|
| @@ -1,32 +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/TranslationTransformComponent.h"
|
| -
|
| -#include "bindings/core/v8/ExceptionState.h"
|
| -#include "core/css/CSSPrimitiveValue.h"
|
| -#include "core/css/CSSValuePool.h"
|
| -
|
| -namespace blink {
|
| -
|
| -TranslationTransformComponent* TranslationTransformComponent::create(LengthValue* x, LengthValue* y, LengthValue* z, ExceptionState& exceptionState)
|
| -{
|
| - if (z->containsPercent()) {
|
| - exceptionState.throwTypeError("TranslationTransformComponent does not support z LengthValue with percent units");
|
| - return nullptr;
|
| - }
|
| - return new TranslationTransformComponent(x, y, z);
|
| -}
|
| -
|
| -CSSFunctionValue* TranslationTransformComponent::toCSSValue() const
|
| -{
|
| - CSSFunctionValue* result = CSSFunctionValue::create(is2D() ? CSSValueTranslate : CSSValueTranslate3d);
|
| - result->append(m_x->toCSSValue());
|
| - result->append(m_y->toCSSValue());
|
| - if (!is2D())
|
| - result->append(m_z->toCSSValue());
|
| - return result;
|
| -}
|
| -
|
| -} // namespace blink
|
|
|