| Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc
|
| diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc
|
| index 94a5a32ca90639d1f7b071e0535812fc9293077e..67b51895397fb03b029f340f9100b0736908ec19 100644
|
| --- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc
|
| +++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/bookmarks/bookmark_model.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "content/test/test_browser_thread.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -34,6 +35,9 @@ class BookmarkBarGtkUnittest : public testing::Test {
|
|
|
| virtual void SetUp() OVERRIDE {
|
| profile_.reset(new TestingProfile());
|
| + // WebDataService is not used in this test and should be NULL.
|
| + WebDataServiceFactory::GetInstance()->SetTestingFactory(profile_.get(),
|
| + NULL);
|
| profile_->CreateBookmarkModel(true);
|
| profile_->BlockUntilBookmarkModelLoaded();
|
| model_ = profile_->GetBookmarkModel();
|
|
|