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

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

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/MatrixTransformComponent.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
index b7295f8cf5f8cfda6620e890df4192f31b4783df..69a95d99548bca899d09bf9121718e1e5e93f46b 100644
--- a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
@@ -86,7 +86,7 @@ MatrixTransformComponent* MatrixTransformComponent::translate(double x, double y
OwnPtr<TransformationMatrix> matrix = TransformationMatrix::create();
matrix->setM41(x);
matrix->setM42(y);
- return new MatrixTransformComponent(matrix.release(), TranslateType);
+ return new MatrixTransformComponent(matrix.release(), TranslationType);
}
MatrixTransformComponent* MatrixTransformComponent::translate3d(double x, double y, double z)
@@ -95,7 +95,7 @@ MatrixTransformComponent* MatrixTransformComponent::translate3d(double x, double
matrix->setM41(x);
matrix->setM42(y);
matrix->setM43(z);
- return new MatrixTransformComponent(matrix.release(), Translate3DType);
+ return new MatrixTransformComponent(matrix.release(), Translation3DType);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/TransformComponent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698