From 06ea8e899e48f1f2f396b70e63fae369f2f23232 Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Mon, 28 Jun 2010 16:42:48 +0100 Subject: Merge WebKit at r61871: Initial merge by git. Change-Id: I6cff43abca9cc4782e088a469ad4f03f166a65d5 --- WebCore/loader/ImageDocument.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WebCore/loader/ImageDocument.h') diff --git a/WebCore/loader/ImageDocument.h b/WebCore/loader/ImageDocument.h index bd627b4..e85b3ab 100644 --- a/WebCore/loader/ImageDocument.h +++ b/WebCore/loader/ImageDocument.h @@ -33,9 +33,9 @@ class ImageDocumentElement; class ImageDocument : public HTMLDocument { public: - static PassRefPtr create(Frame* frame) + static PassRefPtr create(Frame* frame, const KURL& url) { - return adoptRef(new ImageDocument(frame)); + return adoptRef(new ImageDocument(frame, url)); } CachedImage* cachedImage(); @@ -47,7 +47,7 @@ public: void imageClicked(int x, int y); private: - ImageDocument(Frame*); + ImageDocument(Frame*, const KURL&); virtual DocumentParser* createParser(); virtual bool isImageDocument() const { return true; } -- cgit v1.1