Index: Source/core/html/shadow/TextControlInnerElements.h |
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h |
index 955b8f27455036f895954c2cccaeb843d8086bed..1966330d1ad8891f3746538d8faaa81df20c5c7c 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.h |
+++ b/Source/core/html/shadow/TextControlInnerElements.h |
@@ -37,18 +37,18 @@ class SpeechInput; |
class TextControlInnerContainer FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<TextControlInnerContainer> create(Document*); |
+ static PassRefPtr<TextControlInnerContainer> create(Document&); |
protected: |
- TextControlInnerContainer(Document*); |
+ TextControlInnerContainer(Document&); |
virtual RenderObject* createRenderer(RenderStyle*); |
}; |
class TextControlInnerElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<TextControlInnerElement> create(Document*); |
+ static PassRefPtr<TextControlInnerElement> create(Document&); |
protected: |
- TextControlInnerElement(Document*); |
+ TextControlInnerElement(Document&); |
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; |
private: |
@@ -57,12 +57,12 @@ private: |
class TextControlInnerTextElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<TextControlInnerTextElement> create(Document*); |
+ static PassRefPtr<TextControlInnerTextElement> create(Document&); |
virtual void defaultEventHandler(Event*); |
private: |
- TextControlInnerTextElement(Document*); |
+ TextControlInnerTextElement(Document&); |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; |
virtual bool supportsFocus() const OVERRIDE { return false; } |
@@ -70,26 +70,26 @@ private: |
class SearchFieldDecorationElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<SearchFieldDecorationElement> create(Document*); |
+ static PassRefPtr<SearchFieldDecorationElement> create(Document&); |
virtual void defaultEventHandler(Event*); |
virtual bool willRespondToMouseClickEvents() OVERRIDE; |
private: |
- SearchFieldDecorationElement(Document*); |
+ SearchFieldDecorationElement(Document&); |
virtual const AtomicString& part() const OVERRIDE; |
virtual bool supportsFocus() const OVERRIDE { return false; } |
}; |
class SearchFieldCancelButtonElement FINAL : public HTMLDivElement { |
public: |
- static PassRefPtr<SearchFieldCancelButtonElement> create(Document*); |
+ static PassRefPtr<SearchFieldCancelButtonElement> create(Document&); |
virtual void defaultEventHandler(Event*); |
virtual bool willRespondToMouseClickEvents() OVERRIDE; |
private: |
- SearchFieldCancelButtonElement(Document*); |
+ SearchFieldCancelButtonElement(Document&); |
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
virtual bool supportsFocus() const OVERRIDE { return false; } |
@@ -108,7 +108,7 @@ public: |
Recognizing, |
}; |
- static PassRefPtr<InputFieldSpeechButtonElement> create(Document*); |
+ static PassRefPtr<InputFieldSpeechButtonElement> create(Document&); |
virtual ~InputFieldSpeechButtonElement(); |
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
@@ -125,7 +125,7 @@ public: |
void setRecognitionResult(int, const SpeechInputResultArray&); |
private: |
- InputFieldSpeechButtonElement(Document*); |
+ InputFieldSpeechButtonElement(Document&); |
SpeechInput* speechInput(); |
void setState(SpeechInputState state); |
virtual bool isMouseFocusable() const { return false; } |