diff options
Diffstat (limited to 'WebCore/loader/TextDocument.h')
-rw-r--r-- | WebCore/loader/TextDocument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/loader/TextDocument.h b/WebCore/loader/TextDocument.h index 53e3074..c67fea5 100644 --- a/WebCore/loader/TextDocument.h +++ b/WebCore/loader/TextDocument.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -35,7 +35,7 @@ class TextDocument : public HTMLDocument { public: static PassRefPtr<TextDocument> create(Frame* frame) { - return adoptRef(new TextDocument(frame)); + return new TextDocument(frame); } private: |