diff options
author | mmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 20:57:35 +0000 |
---|---|---|
committer | mmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 20:57:35 +0000 |
commit | d13701900a71240fe1b4074b778133ba9a3461e9 (patch) | |
tree | 3ca3fd78ec07a47dcc2cad83defb977b0ad61e81 /base/clipboard_mac.mm | |
parent | b8c87bb8ea9f514a8f09a0f2154f8469ba7faf00 (diff) | |
download | chromium_src-d13701900a71240fe1b4074b778133ba9a3461e9.zip chromium_src-d13701900a71240fe1b4074b778133ba9a3461e9.tar.gz chromium_src-d13701900a71240fe1b4074b778133ba9a3461e9.tar.bz2 |
Move std::string16 to base::string16. Don't pollute the std namespace. Don't
assume that all string types can be represented as std::basic_string<CHAR>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/clipboard_mac.mm')
-rw-r--r-- | base/clipboard_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/clipboard_mac.mm b/base/clipboard_mac.mm index e04849c..58c16d7 100644 --- a/base/clipboard_mac.mm +++ b/base/clipboard_mac.mm @@ -15,7 +15,7 @@ namespace { const NSString* kUTTypeURLName = @"public.url-name"; NSString* nsStringForWString(const std::wstring& string) { - std::string16 text16 = WideToUTF16(string); + string16 text16 = WideToUTF16(string); return [NSString stringWithCharacters:text16.c_str() length:text16.length()]; } |