Index: Source/core/html/shadow/SpinButtonElement.cpp |
diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp |
index ad03f48eb09cd540599df84cf59a1f09e9a20fe5..ae0bc7f1bb1314749ee767c6a545b0376a17284d 100644 |
--- a/Source/core/html/shadow/SpinButtonElement.cpp |
+++ b/Source/core/html/shadow/SpinButtonElement.cpp |
@@ -43,7 +43,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline SpinButtonElement::SpinButtonElement(Document* document, SpinButtonOwner& spinButtonOwner) |
+inline SpinButtonElement::SpinButtonElement(Document& document, SpinButtonOwner& spinButtonOwner) |
: HTMLDivElement(divTag, document) |
, m_spinButtonOwner(&spinButtonOwner) |
, m_capturing(false) |
@@ -53,7 +53,7 @@ inline SpinButtonElement::SpinButtonElement(Document* document, SpinButtonOwner& |
{ |
} |
-PassRefPtr<SpinButtonElement> SpinButtonElement::create(Document* document, SpinButtonOwner& spinButtonOwner) |
+PassRefPtr<SpinButtonElement> SpinButtonElement::create(Document& document, SpinButtonOwner& spinButtonOwner) |
{ |
RefPtr<SpinButtonElement> element = adoptRef(new SpinButtonElement(document, spinButtonOwner)); |
element->setPart(AtomicString("-webkit-inner-spin-button", AtomicString::ConstructFromLiteral)); |