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

Unified Diff: third_party/WebKit/Source/core/geometry/DOMMatrix.h

Issue 2859293002: Use union instead of overload fo DOMMatrix/DOMMatrixReadOnly (Closed)
Patch Set: x Created 3 years, 7 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/geometry/DOMMatrix.h
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrix.h b/third_party/WebKit/Source/core/geometry/DOMMatrix.h
index c80fbf76168c74416d5a1f4aee2b6c57349a9a42..e809cd5ab5e6e3f3a8c26e6accc6e04aae92f1c2 100644
--- a/third_party/WebKit/Source/core/geometry/DOMMatrix.h
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrix.h
@@ -6,6 +6,7 @@
#define DOMMatrix_h
#include "bindings/core/v8/ExceptionState.h"
+#include "bindings/core/v8/StringOrUnrestrictedDoubleSequence.h"
#include "core/dom/ArrayBufferViewHelpers.h"
#include "core/geometry/DOMMatrixInit.h"
#include "core/geometry/DOMMatrixReadOnly.h"
@@ -17,11 +18,12 @@ class CORE_EXPORT DOMMatrix : public DOMMatrixReadOnly {
public:
static DOMMatrix* Create(ExceptionState&);
+ static DOMMatrix* Create(StringOrUnrestrictedDoubleSequence&,
+ ExceptionState&);
+ // TODO(fserb): double check those two bellow are needed:
static DOMMatrix* Create(DOMMatrixReadOnly*,
ExceptionState& = ASSERT_NO_EXCEPTION);
static DOMMatrix* Create(const SkMatrix44&, ExceptionState&);
- static DOMMatrix* Create(const String&, ExceptionState&);
- static DOMMatrix* Create(Vector<double>, ExceptionState&);
static DOMMatrix* fromFloat32Array(NotShared<DOMFloat32Array>,
ExceptionState&);
static DOMMatrix* fromFloat64Array(NotShared<DOMFloat64Array>,
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/BUILD.gn ('k') | third_party/WebKit/Source/core/geometry/DOMMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698