Index: WebCore/html/HTMLDocument.h |
=================================================================== |
--- WebCore/html/HTMLDocument.h (revision 67731) |
+++ WebCore/html/HTMLDocument.h (working copy) |
@@ -35,9 +35,9 @@ |
class HTMLDocument : public Document, public CachedResourceClient { |
public: |
- static PassRefPtr<HTMLDocument> create(Frame* frame, const KURL& url) |
+ static PassRefPtr<HTMLDocument> create(Frame* frame, const KURL& url, const KURL& baseURL = KURL()) |
{ |
- return adoptRef(new HTMLDocument(frame, url)); |
+ return adoptRef(new HTMLDocument(frame, url, baseURL)); |
} |
virtual ~HTMLDocument(); |
@@ -81,7 +81,7 @@ |
bool hasExtraNamedItem(AtomicStringImpl* name); |
protected: |
- HTMLDocument(Frame*, const KURL&); |
+ HTMLDocument(Frame* frame, const KURL& url, const KURL& baseURL = KURL()); |
private: |
virtual PassRefPtr<Element> createElement(const AtomicString& tagName, ExceptionCode&); |