| Index: chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc
|
| diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc
|
| index 6ec3166d2ef4e2dc88d470b30624d3c00f2e9003..90f95ca142ba66b418b13101dd3c91219b59691c 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc
|
| @@ -23,6 +23,7 @@
|
| #include "grit/generated_resources.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/base/clipboard/clipboard.h"
|
| +#include "ui/events/platform/platform_event_source.h"
|
|
|
| #if defined(OS_WIN)
|
| #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h"
|
| @@ -58,6 +59,7 @@ class BookmarkContextMenuTest : public testing::Test {
|
| }
|
|
|
| virtual void SetUp() OVERRIDE {
|
| + event_source_ = ui::PlatformEventSource::CreateDefault();
|
| profile_.reset(new TestingProfile());
|
| profile_->CreateBookmarkModel(true);
|
|
|
| @@ -73,12 +75,14 @@ class BookmarkContextMenuTest : public testing::Test {
|
| BrowserThread::GetBlockingPool()->FlushForTesting();
|
| // Flush the message loop to make application verifiers happy.
|
| message_loop_.RunUntilIdle();
|
| + event_source_.reset();
|
| }
|
|
|
| protected:
|
| base::MessageLoopForUI message_loop_;
|
| content::TestBrowserThread ui_thread_;
|
| content::TestBrowserThread file_thread_;
|
| + scoped_ptr<ui::PlatformEventSource> event_source_;
|
| scoped_ptr<TestingProfile> profile_;
|
| BookmarkModel* model_;
|
| TestingPageNavigator navigator_;
|
|
|