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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller.cc

Issue 10356025: chrome: Instead of doing a conversion just use string16(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avoid temp var at all Created 8 years, 8 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
Index: chrome/browser/ui/intents/web_intent_picker_controller.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc
index a80f46d5c17a0fb97cbc1eeb0fd08f6e9a93ad30..0404eb418be772c77b3c896318bfa581a62aa180 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
@@ -183,7 +183,7 @@ void WebIntentPickerController::ShowDialog(const string16& action,
if (wrapper_->profile()->IsOffTheRecord()) {
if (intents_dispatcher_) {
intents_dispatcher_->SendReplyMessage(
- webkit_glue::WEB_INTENT_REPLY_FAILURE, ASCIIToUTF16(""));
+ webkit_glue::WEB_INTENT_REPLY_FAILURE, string16());
}
return;
}
« no previous file with comments | « chrome/browser/extensions/convert_user_script_unittest.cc ('k') | chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698