Index: chrome/browser/ui/external_protocol_dialog_delegate.cc |
diff --git a/chrome/browser/ui/external_protocol_dialog_delegate.cc b/chrome/browser/ui/external_protocol_dialog_delegate.cc |
index 2badc319aae22bd35ce6dd1364353b5e87ad271a..35ad163007873bb8da47a92fde8ba65b00ddde30 100644 |
--- a/chrome/browser/ui/external_protocol_dialog_delegate.cc |
+++ b/chrome/browser/ui/external_protocol_dialog_delegate.cc |
@@ -15,8 +15,13 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/gfx/text_elider.h" |
-ExternalProtocolDialogDelegate::ExternalProtocolDialogDelegate(const GURL& url) |
- : ProtocolDialogDelegate(url) { |
+ExternalProtocolDialogDelegate::ExternalProtocolDialogDelegate( |
+ const GURL& url, |
+ int render_process_host_id, |
+ int tab_contents_id) |
+ : ProtocolDialogDelegate(url), |
+ render_process_host_id_(render_process_host_id), |
+ tab_contents_id_(tab_contents_id) { |
} |
ExternalProtocolDialogDelegate::~ExternalProtocolDialogDelegate() { |
@@ -65,7 +70,8 @@ void ExternalProtocolDialogDelegate::DoAccept( |
url.scheme(), ExternalProtocolHandler::DONT_BLOCK); |
} |
- ExternalProtocolHandler::LaunchUrlWithoutSecurityCheck(url); |
+ ExternalProtocolHandler::LaunchUrlWithoutSecurityCheck( |
+ url, render_process_host_id_, tab_contents_id_); |
} |
void ExternalProtocolDialogDelegate::DoCancel( |