| Index: chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc
|
| diff --git a/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc b/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc
|
| index f49f39f6e5b238741031a5bb3addcbba703ad0c2..aaa0d9b294ff6d3d902ce3972aa7d86eddff43b0 100644
|
| --- a/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc
|
| +++ b/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc
|
| @@ -211,7 +211,8 @@ bool HandleUrl(int render_process_host_id,
|
| return false;
|
| }
|
|
|
| -// Called when the dialog is closed.
|
| +// Called when the dialog is closed. Note that once we show the UI, we should
|
| +// never show the Chrome OS' fallback dialog.
|
| void OnIntentPickerClosed(int render_process_host_id,
|
| int routing_id,
|
| const GURL& url,
|
| @@ -265,9 +266,8 @@ void OnIntentPickerClosed(int render_process_host_id,
|
| // fall through.
|
| }
|
| case ArcNavigationThrottle::CloseReason::DIALOG_DEACTIVATED: {
|
| - // The user didn't select any ARC activity. Show the Chrome OS dialog.
|
| - ShowFallbackExternalProtocolDialog(render_process_host_id, routing_id,
|
| - url);
|
| + // The user didn't select any ARC activity.
|
| + CloseTabIfNeeded(render_process_host_id, routing_id);
|
| break;
|
| }
|
| }
|
|
|