Index: Source/core/html/HTMLStyleElement.h |
diff --git a/Source/core/html/HTMLStyleElement.h b/Source/core/html/HTMLStyleElement.h |
index 27c0ca76b70d6fb7380cc871d7625f62f37b8a67..6c75d851681c67705a0a0667ce173a65bb6cd8e8 100644 |
--- a/Source/core/html/HTMLStyleElement.h |
+++ b/Source/core/html/HTMLStyleElement.h |
@@ -36,7 +36,7 @@ typedef EventSender<HTMLStyleElement> StyleEventSender; |
class HTMLStyleElement FINAL : public HTMLElement, private StyleElement { |
public: |
- static PassRefPtr<HTMLStyleElement> create(const QualifiedName&, Document*, bool createdByParser); |
+ static PassRefPtr<HTMLStyleElement> create(const QualifiedName&, Document&, bool createdByParser); |
virtual ~HTMLStyleElement(); |
void setType(const AtomicString&); |
@@ -67,7 +67,7 @@ public: |
static void dispatchPendingLoadEvents(); |
private: |
- HTMLStyleElement(const QualifiedName&, Document*, bool createdByParser); |
+ HTMLStyleElement(const QualifiedName&, Document&, bool createdByParser); |
// overload from HTMLElement |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |