diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:01:15 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:01:15 +0000 |
commit | c033cbe94c504d2346c5e99c1ac12fda41f3f46a (patch) | |
tree | 85e1dae7db66e8cf0cc56edb64d15d4a59a70010 /chrome/views | |
parent | 75d52ac5b9e0c0531b17095a5750918c281a7f0d (diff) | |
download | chromium_src-c033cbe94c504d2346c5e99c1ac12fda41f3f46a.zip chromium_src-c033cbe94c504d2346c5e99c1ac12fda41f3f46a.tar.gz chromium_src-c033cbe94c504d2346c5e99c1ac12fda41f3f46a.tar.bz2 |
This changes the base clipboard class, as accomplishing paste requires that Clipboard::FormatType be IPC-able. The lowest-common denominator of unsigned int, NSString*, and GdkAtom is string, so string it is. (Linux changes by estade.)
Review URL: http://codereview.chromium.org/41012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/text_field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/text_field.cc b/chrome/views/text_field.cc index d0ec3da..10a154c 100644 --- a/chrome/views/text_field.cc +++ b/chrome/views/text_field.cc @@ -761,7 +761,7 @@ void TextField::Edit::OnPaste() { ClipboardService* clipboard = g_browser_process->clipboard_service(); - if (!clipboard->IsFormatAvailable(CF_UNICODETEXT)) + if (!clipboard->IsFormatAvailable(Clipboard::GetPlainTextWFormatType())) return; std::wstring clipboard_str; |