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

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

Issue 1689573002: CSS Typed OM: asMatrix for TransformComponent with LengthValue types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@asMatrixMethod
Patch Set: Add in Translation and use exceptionState.hadException 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/TranslationTransformComponent.h
diff --git a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
index 30e29559dbdd68d4d41a9e004924a80fde3c55ff..f3243d8f43b809765e8f22f76d92d6afd7b1d9a7 100644
--- a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.h
@@ -29,8 +29,7 @@ public:
TransformComponentType type() const override { return is2D() ? TranslationType : Translation3DType; }
- // TODO: Implement asMatrix for TranslationTransformComponent.
- MatrixTransformComponent* asMatrix() const override { return nullptr; }
+ MatrixTransformComponent* asMatrix(ExceptionState&) const override;
PassRefPtrWillBeRawPtr<CSSFunctionValue> toCSSValue() const override;

Powered by Google App Engine
This is Rietveld 408576698