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

Unified Diff: third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.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: 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.h
diff --git a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.h
index 680c1a30234b02bca184e1d8c0d2becbd5906890..78686821255f9293f4d7f95b872138f7246610c4 100644
--- a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.h
@@ -10,6 +10,8 @@
namespace blink {
+class ExceptionState;
+
class CORE_EXPORT MatrixTransformComponent final : public TransformComponent {
WTF_MAKE_NONCOPYABLE(MatrixTransformComponent);
DEFINE_WRAPPERTYPEINFO();
@@ -56,7 +58,7 @@ public:
TransformComponentType type() const override { return m_is2D ? MatrixType : Matrix3DType; }
// Bindings require a non const return value.
- MatrixTransformComponent* asMatrix() const override { return const_cast<MatrixTransformComponent*>(this); }
+ MatrixTransformComponent* asMatrix(ExceptionState&) const override { return const_cast<MatrixTransformComponent*>(this); }
PassRefPtrWillBeRawPtr<CSSFunctionValue> toCSSValue() const override;

Powered by Google App Engine
This is Rietveld 408576698