Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8277)

Unified Diff: chrome/browser/tab_contents/render_view_context_menu_controller.cc

Issue 28294: Modified clipboard classes to use string16 instead of std::wstring (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu_controller.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu_controller.cc (revision 10774)
+++ chrome/browser/tab_contents/render_view_context_menu_controller.cc (working copy)
@@ -74,7 +74,7 @@
return;
ScopedClipboardWriter scw(clipboard);
- scw.WriteText(text);
+ scw.WriteText(WideToUTF16Hack(text));
}
void RenderViewContextMenuController::WriteURLToClipboard(const GURL& url) {
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698