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

Unified Diff: Source/core/dom/DOMPoint.h

Issue 558163002: Add DOMPointInit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: Source/core/dom/DOMPoint.h
diff --git a/Source/core/dom/DOMPoint.h b/Source/core/dom/DOMPoint.h
index 11d53ebacc7cdaf8e064d141cd785c4d116a7abb..106a3cb26de123a9c6e3b8155b6494ade4a1c426 100644
--- a/Source/core/dom/DOMPoint.h
+++ b/Source/core/dom/DOMPoint.h
@@ -5,14 +5,15 @@
#ifndef DOMPoint_h
#define DOMPoint_h
-#include "bindings/core/v8/Dictionary.h"
#include "core/dom/DOMPointReadOnly.h"
namespace blink {
+class DOMPointInit;
+
class DOMPoint FINAL : public DOMPointReadOnly {
public:
- static DOMPoint* create(const Dictionary&);
+ static DOMPoint* create(const DOMPointInit*);
static DOMPoint* create(double x, double y, double z = 0, double w = 1);
void setX(double x) { m_x = x; }

Powered by Google App Engine
This is Rietveld 408576698