Index: remoting/host/it2me/it2me_host.cc |
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc |
index 62c08a24d045f87ee14cae2d37c55a365fa5f8dc..e018c9be09db4289ada9c4f3eab99130766ef777 100644 |
--- a/remoting/host/it2me/it2me_host.cc |
+++ b/remoting/host/it2me/it2me_host.cc |
@@ -518,6 +518,12 @@ |
std::unique_ptr<It2MeConfirmationDialog> confirmation_dialog = |
confirmation_dialog_factory_->Create(); |
+ // TODO(joedow): Remove this once confirmation dialog exists on all platforms. |
+ if (!confirmation_dialog) { |
+ result_callback.Run(ValidationResult::SUCCESS); |
+ return; |
+ } |
+ |
confirmation_dialog_proxy_.reset(new It2MeConfirmationDialogProxy( |
host_context_->ui_task_runner(), std::move(confirmation_dialog))); |