Index: Source/core/html/shadow/SliderThumbElement.h |
diff --git a/Source/core/html/shadow/SliderThumbElement.h b/Source/core/html/shadow/SliderThumbElement.h |
index cccd93f6dc0da9782c1661587c7fd8e797bce4d8..0aecf9b5bb968fec4a73e38223e1f6e07d2e2b33 100644 |
--- a/Source/core/html/shadow/SliderThumbElement.h |
+++ b/Source/core/html/shadow/SliderThumbElement.h |
@@ -46,7 +46,7 @@ class FloatPoint; |
class SliderThumbElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<SliderThumbElement> create(Document*); |
+ static PassRefPtr<SliderThumbElement> create(Document&); |
void setPositionFromValue(); |
@@ -60,7 +60,7 @@ public: |
void setPositionFromPoint(const LayoutPoint&); |
private: |
- SliderThumbElement(Document*); |
+ SliderThumbElement(Document&); |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |
virtual bool isDisabledFormControl() const OVERRIDE; |
@@ -75,7 +75,7 @@ private: |
inline PassRefPtr<Element> SliderThumbElement::cloneElementWithoutAttributesAndChildren() |
{ |
- return create(&document()); |
+ return create(document()); |
} |
inline SliderThumbElement* toSliderThumbElement(Node* node) |
@@ -99,10 +99,10 @@ private: |
class SliderContainerElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<SliderContainerElement> create(Document*); |
+ static PassRefPtr<SliderContainerElement> create(Document&); |
private: |
- SliderContainerElement(Document*); |
+ SliderContainerElement(Document&); |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual const AtomicString& part() const; |
}; |