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

Unified Diff: chrome/browser/ui/gtk/protocol_dialog_gtk.cc

Issue 107033003: Stop using GetDefaultProfile() in Chrome OS implementation of platform_util::OpenExternal() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove is_valid check Created 7 years 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/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/views/external_protocol_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/protocol_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/protocol_dialog_gtk.cc b/chrome/browser/ui/gtk/protocol_dialog_gtk.cc
index e2e9fb124191fb67e8b3d149c3bb420b3fcf033b..168144423d4ea9babe1dfe5fcce3ff4777478cac 100644
--- a/chrome/browser/ui/gtk/protocol_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/protocol_dialog_gtk.cc
@@ -32,7 +32,9 @@ const int kMessageWidth = 400;
void ExternalProtocolHandler::RunExternalProtocolDialog(
const GURL& url, int render_process_host_id, int routing_id) {
new ProtocolDialogGtk(scoped_ptr<const ProtocolDialogDelegate>(
- new ExternalProtocolDialogDelegate(url)));
+ new ExternalProtocolDialogDelegate(url,
+ render_process_host_id,
+ routing_id)));
}
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/views/external_protocol_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698