Index: Source/core/html/HTMLScriptElement.h |
diff --git a/Source/core/html/HTMLScriptElement.h b/Source/core/html/HTMLScriptElement.h |
index 704b77e7e33cd7c34f38a2d4006f48e4897c56a1..6bd9c8f2b25e1f39f2a2b413fbd877b0f3708e98 100644 |
--- a/Source/core/html/HTMLScriptElement.h |
+++ b/Source/core/html/HTMLScriptElement.h |
@@ -33,7 +33,7 @@ class ScriptLoader; |
class HTMLScriptElement FINAL : public HTMLElement, public ScriptLoaderClient { |
public: |
- static PassRefPtr<HTMLScriptElement> create(const QualifiedName&, Document*, bool wasInsertedByParser, bool alreadyStarted = false); |
+ static PassRefPtr<HTMLScriptElement> create(const QualifiedName&, Document&, bool wasInsertedByParser, bool alreadyStarted = false); |
String text() { return textFromChildren(); } |
void setText(const String&); |
@@ -46,7 +46,7 @@ public: |
ScriptLoader* loader() const { return m_loader.get(); } |
private: |
- HTMLScriptElement(const QualifiedName&, Document*, bool wasInsertedByParser, bool alreadyStarted); |
+ HTMLScriptElement(const QualifiedName&, Document&, bool wasInsertedByParser, bool alreadyStarted); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |