| Index: Source/core/html/HTMLDocument.h
|
| diff --git a/Source/core/html/HTMLDocument.h b/Source/core/html/HTMLDocument.h
|
| index 82f46a3566a0dd5911abb337255bc8a4b3facbaa..369758a0b024b41e72a6d1767a5345c0d0920e59 100644
|
| --- a/Source/core/html/HTMLDocument.h
|
| +++ b/Source/core/html/HTMLDocument.h
|
| @@ -35,9 +35,9 @@ class HTMLElement;
|
|
|
| class HTMLDocument : public Document, public CachedResourceClient {
|
| public:
|
| - static PassRefPtr<HTMLDocument> create(Frame* frame, const KURL& url)
|
| + static PassRefPtr<HTMLDocument> create(const DocumentInit& initializer = DocumentInit())
|
| {
|
| - return adoptRef(new HTMLDocument(frame, url));
|
| + return adoptRef(new HTMLDocument(initializer));
|
| }
|
| virtual ~HTMLDocument();
|
|
|
| @@ -74,7 +74,7 @@ public:
|
| static bool isCaseSensitiveAttribute(const QualifiedName&);
|
|
|
| protected:
|
| - HTMLDocument(Frame*, const KURL&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
|
| + HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
|
|
|
| private:
|
| HTMLBodyElement* bodyAsHTMLBodyElement() const;
|
|
|