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 64fdf2a93a62902570a86309b4ade165b9941808..c4bf0d2403ce831ca09a2746b2fc6a7f67917e73 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc |
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
@@ -194,10 +194,6 @@ void WebIntentPickerController::SetIntentsDispatcher( |
void WebIntentPickerController::ShowDialog(const string16& action, |
const string16& type) { |
- // As soon as the dialog is requested, block all input events |
- // on the original tab. |
- tab_contents_->constrained_window_tab_helper()->BlockTabContent(true); |
- |
// Only show a picker once. |
// TODO(gbillock): There's a hole potentially admitting multiple |
// in-flight dispatches since we don't create the picker |
@@ -251,6 +247,9 @@ void WebIntentPickerController::ShowDialog(const string16& action, |
} |
} |
+ // As soon as the dialog is requested, block all input events |
+ // on the original tab. |
+ tab_contents_->constrained_window_tab_helper()->BlockTabContent(true); |
SetDialogState(kPickerSetup); |
pending_async_count_++; |