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

Unified Diff: chrome/browser/views/external_protocol_dialog.cc

Issue 342040: Enable ExternalProtocolDialog for linux/views (Closed)
Patch Set: fix linux build Created 11 years, 2 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/views/external_protocol_dialog.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/external_protocol_dialog.cc
diff --git a/chrome/browser/views/external_protocol_dialog.cc b/chrome/browser/views/external_protocol_dialog.cc
index 1f7bf42305b437905d7587d56ff7c1efc7d629a3..6548eb6dcc2a1ee62c95cdaf0193754f181a79a1 100644
--- a/chrome/browser/views/external_protocol_dialog.cc
+++ b/chrome/browser/views/external_protocol_dialog.cc
@@ -39,6 +39,7 @@ void ExternalProtocolHandler::RunExternalProtocolDialog(
}
TabContents* tab_contents = tab_util::GetTabContentsByID(
render_process_host_id, routing_id);
+ DCHECK(tab_contents);
ExternalProtocolDialog* handler =
new ExternalProtocolDialog(tab_contents, url, command);
}
@@ -128,7 +129,7 @@ ExternalProtocolDialog::ExternalProtocolDialog(TabContents* tab_contents,
message_box_view_ = new MessageBoxView(MessageBoxFlags::kIsConfirmMessageBox,
message_text,
- L"",
+ std::wstring(),
kMessageWidth);
message_box_view_->SetCheckBoxLabel(
l10n_util::GetString(IDS_EXTERNAL_PROTOCOL_CHECKBOX_TEXT));
« no previous file with comments | « chrome/browser/views/external_protocol_dialog.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698