diff options
Diffstat (limited to 'WebCore/platform/text/qt/TextCodecQt.cpp')
-rw-r--r-- | WebCore/platform/text/qt/TextCodecQt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/text/qt/TextCodecQt.cpp b/WebCore/platform/text/qt/TextCodecQt.cpp index 0f385dd..c6c02cf 100644 --- a/WebCore/platform/text/qt/TextCodecQt.cpp +++ b/WebCore/platform/text/qt/TextCodecQt.cpp @@ -63,9 +63,9 @@ void TextCodecQt::registerEncodingNames(EncodingNameRegistrar registrar) } } -static std::auto_ptr<TextCodec> newTextCodecQt(const TextEncoding& encoding, const void*) +static PassOwnPtr<TextCodec> newTextCodecQt(const TextEncoding& encoding, const void*) { - return std::auto_ptr<TextCodec>(new TextCodecQt(encoding)); + return new TextCodecQt(encoding); } void TextCodecQt::registerCodecs(TextCodecRegistrar registrar) |