Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
index ab590097b90750ddf62d8f8ae2a6a6050eb07bcc..69f19cb4a2fd8c11e75883404b0c185aeb485cc8 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
@@ -25,6 +25,10 @@ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#if defined(OS_WIN) |
+#include "ui/base/win/scoped_ole_initializer.h" |
+#endif |
+ |
using testing::_; |
namespace autofill { |
@@ -257,6 +261,11 @@ class AutofillDialogControllerTest : public testing::Test { |
void FinishedCallback(const FormStructure* form_structure, |
const std::string& google_transaction_id) {} |
+#if defined(OS_WIN) |
+ // http://crbug.com/227221 |
+ ui::ScopedOleInitializer ole_initializer_; |
+#endif |
+ |
// A bunch of threads are necessary for classes like TestWebContents and |
// URLRequestContextGetter not to fall over. |
MessageLoopForUI loop_; |