diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-15 15:44:15 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-15 15:44:15 +0000 |
commit | 0270e0adabd2dc5cd3d0abe108c211f93dc29625 (patch) | |
tree | 76afba8ef6bd60218e09e31a915f658bc23cdc1a /base/clipboard_mac.mm | |
parent | 46991c59023c40e5e4b82e575ff83c4b3b8f2a34 (diff) | |
download | chromium_src-0270e0adabd2dc5cd3d0abe108c211f93dc29625.zip chromium_src-0270e0adabd2dc5cd3d0abe108c211f93dc29625.tar.gz chromium_src-0270e0adabd2dc5cd3d0abe108c211f93dc29625.tar.bz2 |
- Match up w/ NSPasteboard docs and mark sure our special type is on the
pastboard type list before we put the marker.
Review URL: http://codereview.chromium.org/17395
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8092 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 e16a795..592b4c6 100644 --- a/base/clipboard_mac.mm +++ b/base/clipboard_mac.mm @@ -129,7 +129,7 @@ void Clipboard::WriteFiles(const char* file_data, size_t file_len) { // pasteboard. This flavor has no data. void Clipboard::WriteWebSmartPaste() { NSPasteboard* pb = GetPasteboard(); - [pb addTypes:[NSArray arrayWithObject:NSStringPboardType] owner:nil]; + [pb addTypes:[NSArray arrayWithObject:GetWebKitSmartPasteFormatType()] owner:nil]; [pb setData:nil forType:GetWebKitSmartPasteFormatType()]; } |