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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSScale.cpp

Issue 2943303002: [CSS Typed OM] Refactor is2D handling in CSSTransformComponents to match new spec (Closed)
Patch Set: rebase Created 3 years, 6 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/CSSScale.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSScale.cpp b/third_party/WebKit/Source/core/css/cssom/CSSScale.cpp
index aea908826ef1b2e35890b06ac5cd9590398906f0..03a2791b84d1d774a7c0e2abfd02326ff91cdcff 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSScale.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSScale.cpp
@@ -64,13 +64,13 @@ CSSScale* CSSScale::FromCSSValue(const CSSFunctionValue& value) {
CSSFunctionValue* CSSScale::ToCSSValue() const {
CSSFunctionValue* result =
- CSSFunctionValue::Create(is2d_ ? CSSValueScale : CSSValueScale3d);
+ CSSFunctionValue::Create(is2D() ? CSSValueScale : CSSValueScale3d);
result->Append(
*CSSPrimitiveValue::Create(x_, CSSPrimitiveValue::UnitType::kNumber));
result->Append(
*CSSPrimitiveValue::Create(y_, CSSPrimitiveValue::UnitType::kNumber));
- if (!is2d_)
+ if (!is2D())
result->Append(
*CSSPrimitiveValue::Create(z_, CSSPrimitiveValue::UnitType::kNumber));
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSScale.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSSkew.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698