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 ec10dfa2bf81207720ccbdbcde45d31c36102c2f..241a4b1b869090d71acdb5908dadb76e67abff35 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -1549,9 +1549,9 @@ void TestingAutomationProvider::GetBookmarksAsJSON( |
if (!browser->profile()->GetBookmarkModel()->IsLoaded()) { |
return; |
} |
- scoped_refptr<BookmarkStorage> storage = new BookmarkStorage( |
+ scoped_refptr<BookmarkStorage> storage(new BookmarkStorage( |
browser->profile(), |
- browser->profile()->GetBookmarkModel()); |
+ browser->profile()->GetBookmarkModel())); |
*success = storage->SerializeData(bookmarks_as_json); |
} |
} |