Index: chrome/browser/autocomplete/bookmark_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/bookmark_provider_unittest.cc b/chrome/browser/autocomplete/bookmark_provider_unittest.cc |
index b48bf39d6cb87390c2ffdf7cc6eb2c348af438c5..71ee42be8fed6fdfe70d0f2e9da000994c0af2a0 100644 |
--- a/chrome/browser/autocomplete/bookmark_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/bookmark_provider_unittest.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/browser/bookmarks/bookmark_model.h" |
#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
#include "chrome/test/base/testing_profile.h" |
+#include "content/public/test/test_browser_thread_bundle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
// The bookmark corpus against which we will simulate searches. |
@@ -62,6 +63,7 @@ class BookmarkProviderTest : public testing::Test, |
protected: |
virtual void SetUp() OVERRIDE; |
+ scoped_ptr<content::TestBrowserThreadBundle> thread_bundle_; |
scoped_ptr<TestingProfile> profile_; |
scoped_ptr<BookmarkModel> model_; |
scoped_refptr<BookmarkProvider> provider_; |
@@ -71,6 +73,7 @@ class BookmarkProviderTest : public testing::Test, |
}; |
void BookmarkProviderTest::SetUp() { |
+ thread_bundle_.reset(new content::TestBrowserThreadBundle()); |
profile_.reset(new TestingProfile()); |
DCHECK(profile_.get()); |
provider_ = new BookmarkProvider(this, profile_.get()); |