Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp

Issue 2024023002: Typed CSSOM: Rename Perspective and PerspectiveTransformComponent to CSSPerspective (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSPerspective.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSPerspective.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698