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

Unified Diff: third_party/WebKit/Source/core/style/StyleTransformData.cpp

Issue 2454543002: Correct the initial value of CSS independent transform properties (Closed)
Patch Set: git cl format Created 4 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('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/style/StyleTransformData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleTransformData.cpp b/third_party/WebKit/Source/core/style/StyleTransformData.cpp
index ea73973a6d7b6de48c4256c142522e3b2f13bf51..3b8ff2a648fd16a36d8491b9905eccc4dd857ce5 100644
--- a/third_party/WebKit/Source/core/style/StyleTransformData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleTransformData.cpp
@@ -33,7 +33,10 @@ StyleTransformData::StyleTransformData()
ComputedStyle::initialOffsetPosition(),
nullptr,
ComputedStyle::initialOffsetDistance(),
- ComputedStyle::initialOffsetRotation()) {}
+ ComputedStyle::initialOffsetRotation()),
+ m_translate(ComputedStyle::initialTranslate()),
+ m_rotate(ComputedStyle::initialRotate()),
+ m_scale(ComputedStyle::initialScale()) {}
StyleTransformData::StyleTransformData(const StyleTransformData& o)
: RefCounted<StyleTransformData>(),
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698