| Index: Source/core/html/HTMLDocument.h
|
| diff --git a/Source/core/html/HTMLDocument.h b/Source/core/html/HTMLDocument.h
|
| index 82f46a3566a0dd5911abb337255bc8a4b3facbaa..7a2bf9007dc20ae3367fdd7489eb78736914b075 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 DocumentInitializer& initializer = DocumentInitializer())
|
| {
|
| - 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 DocumentInitializer&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
|
|
|
| private:
|
| HTMLBodyElement* bodyAsHTMLBodyElement() const;
|
|
|