Index: Source/core/html/shadow/SpinButtonElement.h |
diff --git a/Source/core/html/shadow/SpinButtonElement.h b/Source/core/html/shadow/SpinButtonElement.h |
index 77d031e2ac9495cda3b569f857499b1c819b3c34..715f4343adf909067a285f62c4f6bab198727da5 100644 |
--- a/Source/core/html/shadow/SpinButtonElement.h |
+++ b/Source/core/html/shadow/SpinButtonElement.h |
@@ -54,7 +54,7 @@ public: |
// The owner of SpinButtonElement must call removeSpinButtonOwner |
// because SpinButtonElement can be outlive SpinButtonOwner |
// implementation, e.g. during event handling. |
- static PassRefPtr<SpinButtonElement> create(Document*, SpinButtonOwner&); |
+ static PassRefPtr<SpinButtonElement> create(Document&, SpinButtonOwner&); |
UpDownState upDownState() const { return m_upDownState; } |
virtual void releaseCapture(); |
void removeSpinButtonOwner() { m_spinButtonOwner = 0; } |
@@ -67,7 +67,7 @@ public: |
void forwardEvent(Event*); |
private: |
- SpinButtonElement(Document*, SpinButtonOwner&); |
+ SpinButtonElement(Document&, SpinButtonOwner&); |
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
virtual bool isSpinButtonElement() const { return true; } |