Index: remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc |
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc |
index 0185fdd6cef09e2b227759ec5dd762d7edbd9451..78468bea16310c7de3b43f9ae9a214006f35bf6b 100644 |
--- a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc |
+++ b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc |
@@ -10,6 +10,7 @@ |
#include "base/callback_helpers.h" |
#include "base/i18n/message_formatter.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "remoting/base/string_resources.h" |
#include "remoting/host/chromeos/message_box.h" |
@@ -69,8 +70,7 @@ void It2MeConfirmationDialogChromeOS::OnMessageBoxResult( |
std::unique_ptr<It2MeConfirmationDialog> |
It2MeConfirmationDialogFactory::Create() { |
- return std::unique_ptr<It2MeConfirmationDialog>( |
- new It2MeConfirmationDialogChromeOS()); |
+ return base::MakeUnique<It2MeConfirmationDialogChromeOS>(); |
} |
} // namespace remoting |