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

Unified Diff: Source/core/rendering/style/StyleTransformData.h

Issue 644953003: Store [-webkit-]transform-origin as a TransformOrigin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Almost forgot: drop unused ctor. (+ rebase). Created 6 years, 2 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 | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleTransformData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/StyleTransformData.h
diff --git a/Source/core/rendering/style/StyleTransformData.h b/Source/core/rendering/style/StyleTransformData.h
index 34ed026f5e3ff0268f77d457fb885d53bbcff072..58c823e50686683379988acda9694eacfa3b5fab 100644
--- a/Source/core/rendering/style/StyleTransformData.h
+++ b/Source/core/rendering/style/StyleTransformData.h
@@ -25,7 +25,7 @@
#ifndef StyleTransformData_h
#define StyleTransformData_h
-#include "platform/Length.h"
+#include "core/rendering/style/TransformOrigin.h"
#include "platform/transforms/TransformOperations.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -44,9 +44,7 @@ public:
}
TransformOperations m_operations;
- Length m_x;
- Length m_y;
- float m_z;
+ TransformOrigin m_origin;
private:
StyleTransformData();
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleTransformData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698