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

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

Issue 1603813002: CSS Typed OM: Add TranslationTransformComponent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cssValueAndCssString
Patch Set: Remove unnecessary class declaraion Created 4 years, 10 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/TransformComponent.h
diff --git a/third_party/WebKit/Source/core/css/cssom/TransformComponent.h b/third_party/WebKit/Source/core/css/cssom/TransformComponent.h
index e5b169cd0f0892e32e0a5c712c31f7c9c264a0dc..756a0ae00353c87a12a03bac2c91010e6d9b126d 100644
--- a/third_party/WebKit/Source/core/css/cssom/TransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/TransformComponent.h
@@ -18,8 +18,8 @@ class CORE_EXPORT TransformComponent : public GarbageCollectedFinalized<Transfor
DEFINE_WRAPPERTYPEINFO();
public:
enum TransformComponentType {
- MatrixType, PerspectiveType, RotationType, ScaleType, SkewType, TranslateType,
- Matrix3DType, Rotation3DType, Scale3DType, Translate3DType
+ MatrixType, PerspectiveType, RotationType, ScaleType, SkewType, TranslationType,
+ Matrix3DType, Rotation3DType, Scale3DType, Translation3DType
};
virtual ~TransformComponent() { }
@@ -34,8 +34,7 @@ public:
&& transformType != PerspectiveType
&& transformType != Rotation3DType
&& transformType != Scale3DType
- && transformType != Translate3DType
- && transformType != PerspectiveType;
+ && transformType != Translation3DType;
}
String cssString() const

Powered by Google App Engine
This is Rietveld 408576698