Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index ce791d5ea52547121d24852f64fb255112dfc6d2..342bd97475e9aa09d64278bd720369255f4c74ce 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -12,6 +12,7 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/command_line.h" |
+#include "base/deferred_sequenced_task_runner.h" |
#include "base/files/file_path.h" |
#include "base/json/json_reader.h" |
#include "base/json/json_writer.h" |
@@ -1265,7 +1266,7 @@ void TestingAutomationProvider::GetBookmarksAsJSON( |
scoped_refptr<BookmarkStorage> storage( |
new BookmarkStorage(browser->profile(), |
bookmark_model, |
- browser->profile()->GetIOTaskRunner())); |
+ browser->profile()->GetBookmarksTaskRunner())); |
if (!storage->SerializeData(&bookmarks_as_json)) { |
reply.SendError("Failed to serialize bookmarks"); |
return; |