diff options
Diffstat (limited to 'chrome/views/focus_manager_unittest.cc')
-rw-r--r-- | chrome/views/focus_manager_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/views/focus_manager_unittest.cc b/chrome/views/focus_manager_unittest.cc index 8f0040f..78d02b4 100644 --- a/chrome/views/focus_manager_unittest.cc +++ b/chrome/views/focus_manager_unittest.cc @@ -514,6 +514,7 @@ TestViewWindow* FocusManagerTest::GetWindow() { } void FocusManagerTest::SetUp() { + OleInitialize(NULL); test_window_ = new TestViewWindow(this); test_window_->Init(); ShowWindow(test_window_->GetHWND(), SW_SHOW); @@ -524,6 +525,7 @@ void FocusManagerTest::TearDown() { // Flush the message loop to make Purify happy. message_loop_.RunAllPending(); + OleUninitialize(); } //////////////////////////////////////////////////////////////////////////////// |