summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDocument.h')
-rw-r--r--WebCore/html/HTMLDocument.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLDocument.h b/WebCore/html/HTMLDocument.h
index ae65d42..37edd87 100644
--- a/WebCore/html/HTMLDocument.h
+++ b/WebCore/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(Frame* frame, const KURL& url, const KURL& baseURL = KURL())
{
- return adoptRef(new HTMLDocument(frame, url));
+ return adoptRef(new HTMLDocument(frame, url, baseURL));
}
virtual ~HTMLDocument();
@@ -50,7 +50,6 @@ public:
String designMode() const;
void setDesignMode(const String&);
- String compatMode() const;
virtual void setCompatibilityModeFromDoctype();
Element* activeElement();
@@ -81,7 +80,7 @@ public:
bool hasExtraNamedItem(AtomicStringImpl* name);
protected:
- HTMLDocument(Frame*, const KURL&);
+ HTMLDocument(Frame* frame, const KURL& url, const KURL& baseURL = KURL());
#ifdef ANDROID_INSTRUMENT
// Overridden to resolve the ambiguous