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

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

Issue 1589733004: CSS Typed OM: add TransformComponents Rotation and Skew (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cssValueAndCssString
Patch Set: Remove TransformComponent call in child constructor Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c4039b76de59793f2ea138ba44a8eac7db93e244..195db99397ce27572f3d579e60a7543d2dc86c44 100644
--- a/third_party/WebKit/Source/core/css/cssom/TransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/TransformComponent.h
@@ -16,8 +16,8 @@ class CORE_EXPORT TransformComponent : public GarbageCollectedFinalized<Transfor
DEFINE_WRAPPERTYPEINFO();
public:
enum TransformComponentType {
- MatrixType, PerspectiveType, RotateType, ScaleType, SkewType, TranslateType,
- Matrix3DType, Rotate3DType, Scale3DType, Translate3DType
+ MatrixType, PerspectiveType, RotationType, ScaleType, SkewType, TranslateType,
+ Matrix3DType, Rotation3DType, Scale3DType, Translate3DType
};
virtual ~TransformComponent() { }
@@ -28,7 +28,8 @@ public:
{
TransformComponentType transformType = type();
return transformType != Matrix3DType
- && transformType != Rotate3DType
+ && transformType != PerspectiveType
+ && transformType != Rotation3DType
&& transformType != Scale3DType
&& transformType != Translate3DType;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698