Index: components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
index f8cefa928bc028b8b97c99741355b2b02bcbc008..de8217bbd5365dd7918ce7768bd68c0f8b0ec5f5 100644 |
--- a/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
+++ b/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
@@ -5,12 +5,12 @@ |
#include "components/bookmarks/browser/bookmark_expanded_state_tracker.h" |
#include "base/files/file_path.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/prefs/pref_service.h" |
#include "base/prefs/pref_service_factory.h" |
#include "base/prefs/testing_pref_store.h" |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/thread_task_runner_handle.h" |
#include "components/bookmarks/browser/bookmark_model.h" |
#include "components/bookmarks/common/bookmark_pref_names.h" |
#include "components/bookmarks/test/bookmark_test_helpers.h" |
@@ -56,11 +56,9 @@ BookmarkExpandedStateTrackerTest::~BookmarkExpandedStateTrackerTest() {} |
void BookmarkExpandedStateTrackerTest::SetUp() { |
prefs_ = PrefServiceForTesting(); |
model_.reset(new BookmarkModel(&client_)); |
- model_->Load(prefs_.get(), |
- std::string(), |
- base::FilePath(), |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current()); |
+ model_->Load(prefs_.get(), std::string(), base::FilePath(), |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get()); |
test::WaitForBookmarkModelToLoad(model_.get()); |
} |