Index: Source/core/frame/WebKitPoint.h |
diff --git a/Source/core/frame/DOMPoint.h b/Source/core/frame/WebKitPoint.h |
similarity index 80% |
rename from Source/core/frame/DOMPoint.h |
rename to Source/core/frame/WebKitPoint.h |
index df48cd7409715f88bf5d15e477022da2df16511a..12b4b59fad2628d7c05a3c994f662bdbef29dcd9 100644 |
--- a/Source/core/frame/DOMPoint.h |
+++ b/Source/core/frame/WebKitPoint.h |
@@ -23,8 +23,8 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef DOMPoint_h |
-#define DOMPoint_h |
+#ifndef WebKitPoint_h |
+#define WebKitPoint_h |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
@@ -33,15 +33,15 @@ |
namespace blink { |
-class DOMPoint FINAL : public RefCountedWillBeGarbageCollected<DOMPoint>, public ScriptWrappable { |
+class WebKitPoint FINAL : public RefCountedWillBeGarbageCollected<WebKitPoint>, public ScriptWrappable { |
public: |
- static PassRefPtrWillBeRawPtr<DOMPoint> create() |
+ static PassRefPtrWillBeRawPtr<WebKitPoint> create() |
{ |
- return adoptRefWillBeNoop(new DOMPoint()); |
+ return adoptRefWillBeNoop(new WebKitPoint()); |
} |
- static PassRefPtrWillBeRawPtr<DOMPoint> create(float x, float y) |
+ static PassRefPtrWillBeRawPtr<WebKitPoint> create(float x, float y) |
{ |
- return adoptRefWillBeNoop(new DOMPoint(x, y)); |
+ return adoptRefWillBeNoop(new WebKitPoint(x, y)); |
} |
float x() const { return m_x; } |
@@ -53,7 +53,7 @@ public: |
void trace(Visitor*) { } |
private: |
- DOMPoint(float x = 0, float y = 0) |
+ WebKitPoint(float x = 0, float y = 0) |
: m_x(x) |
, m_y(y) |
{ |
@@ -66,4 +66,4 @@ private: |
} // namespace blink |
-#endif // DOMPoint_h |
+#endif // WebKitPoint_h |