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

Unified Diff: third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h

Issue 1949343002: [Obsolete] Typed CSSOM: Prefix LengthValue, CalcLength and SimpleLength with "CSS" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename layout test files 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/TranslationTransformComponent.h
diff --git a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
index 9e8442162ca5ac7ccb115b7dad309831fae32069..7330f9960840fd3176f0debeb0bb8e704dd05bfe 100644
--- a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
@@ -5,7 +5,7 @@
#ifndef TranslationTransformComponent_h
#define TranslationTransformComponent_h
-#include "core/css/cssom/LengthValue.h"
+#include "core/css/cssom/CSSLengthValue.h"
#include "core/css/cssom/TransformComponent.h"
namespace blink {
@@ -16,15 +16,15 @@ class CORE_EXPORT TranslationTransformComponent final : public TransformComponen
WTF_MAKE_NONCOPYABLE(TranslationTransformComponent);
DEFINE_WRAPPERTYPEINFO();
public:
- static TranslationTransformComponent* create(LengthValue* x, LengthValue* y, ExceptionState&)
+ static TranslationTransformComponent* create(CSSLengthValue* x, CSSLengthValue* y, ExceptionState&)
{
return new TranslationTransformComponent(x, y, nullptr);
}
- static TranslationTransformComponent* create(LengthValue* x, LengthValue* y, LengthValue* z, ExceptionState&);
+ static TranslationTransformComponent* create(CSSLengthValue* x, CSSLengthValue* y, CSSLengthValue* z, ExceptionState&);
- LengthValue* x() const { return m_x; }
- LengthValue* y() const { return m_y; }
- LengthValue* z() const { return m_z; }
+ CSSLengthValue* x() const { return m_x; }
+ CSSLengthValue* y() const { return m_y; }
+ CSSLengthValue* z() const { return m_z; }
TransformComponentType type() const override { return is2D() ? TranslationType : Translation3DType; }
@@ -42,7 +42,7 @@ public:
}
private:
- TranslationTransformComponent(LengthValue* x, LengthValue* y, LengthValue* z)
+ TranslationTransformComponent(CSSLengthValue* x, CSSLengthValue* y, CSSLengthValue* z)
: TransformComponent()
, m_x(x)
, m_y(y)
@@ -51,9 +51,9 @@ private:
bool is2D() const { return !m_z; }
- Member<LengthValue> m_x;
- Member<LengthValue> m_y;
- Member<LengthValue> m_z;
+ Member<CSSLengthValue> m_x;
+ Member<CSSLengthValue> m_y;
+ Member<CSSLengthValue> m_z;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698