summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/PlaceholderDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/PlaceholderDocument.h')
-rw-r--r--WebCore/loader/PlaceholderDocument.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/loader/PlaceholderDocument.h b/WebCore/loader/PlaceholderDocument.h
index a759266..c542370 100644
--- a/WebCore/loader/PlaceholderDocument.h
+++ b/WebCore/loader/PlaceholderDocument.h
@@ -34,7 +34,7 @@ class PlaceholderDocument : public Document {
public:
static PassRefPtr<PlaceholderDocument> create(Frame* frame)
{
- return adoptRef(new PlaceholderDocument(frame));
+ return new PlaceholderDocument(frame);
}
virtual void attach();