diff options
Diffstat (limited to 'WebCore/platform/text/mac/StringImplMac.mm')
-rw-r--r-- | WebCore/platform/text/mac/StringImplMac.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/platform/text/mac/StringImplMac.mm b/WebCore/platform/text/mac/StringImplMac.mm index 3e0731c..d14c6d8 100644 --- a/WebCore/platform/text/mac/StringImplMac.mm +++ b/WebCore/platform/text/mac/StringImplMac.mm @@ -1,5 +1,5 @@ -/** - * Copyright (C) 2006 Apple Computer, Inc. +/* + * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -21,13 +21,13 @@ #include "config.h" #include "StringImpl.h" -#include <Foundation/Foundation.h> +#include "FoundationExtras.h" namespace WebCore { StringImpl::operator NSString *() { - return [NSString stringWithCharacters:m_data length:m_length]; + return HardAutorelease(createCFString()); } } |