Index: Source/core/html/HTMLOptionElement.h |
diff --git a/Source/core/html/HTMLOptionElement.h b/Source/core/html/HTMLOptionElement.h |
index f1cb609332ad755afccc54ebf150fd903041f2cb..f3f055f3aef826e30d0d9a0b4fe3f5f825416869 100644 |
--- a/Source/core/html/HTMLOptionElement.h |
+++ b/Source/core/html/HTMLOptionElement.h |
@@ -35,9 +35,9 @@ class HTMLSelectElement; |
class HTMLOptionElement FINAL : public HTMLElement { |
public: |
- static PassRefPtr<HTMLOptionElement> create(Document*); |
- static PassRefPtr<HTMLOptionElement> create(const QualifiedName&, Document*); |
- static PassRefPtr<HTMLOptionElement> createForJSConstructor(Document*, const String& data, const String& value, |
+ static PassRefPtr<HTMLOptionElement> create(Document&); |
+ static PassRefPtr<HTMLOptionElement> create(const QualifiedName&, Document&); |
+ static PassRefPtr<HTMLOptionElement> createForJSConstructor(Document&, const String& data, const String& value, |
bool defaultSelected, bool selected, ExceptionState&); |
virtual String text() const; |
@@ -66,7 +66,7 @@ public: |
void setSelectedState(bool); |
private: |
- HTMLOptionElement(const QualifiedName&, Document*); |
+ HTMLOptionElement(const QualifiedName&, Document&); |
virtual bool rendererIsFocusable() const OVERRIDE; |
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } |