Index: chrome/browser/history/android/bookmark_model_sql_handler.cc |
=================================================================== |
--- chrome/browser/history/android/bookmark_model_sql_handler.cc (revision 149222) |
+++ chrome/browser/history/android/bookmark_model_sql_handler.cc (working copy) |
@@ -6,6 +6,7 @@ |
#include "base/logging.h" |
#include "chrome/browser/bookmarks/bookmark_model.h" |
+#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
#include "chrome/browser/bookmarks/bookmark_service.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/history/url_database.h" |
@@ -84,7 +85,7 @@ |
Profile* profile = ProfileManager::GetLastUsedProfile(); |
if (!profile) |
return NULL; |
- return profile->GetBookmarkModel(); |
+ return BookmarkModelFactory::GetForProfile(profile); |
} |
BookmarkModelSQLHandler::BookmarkModelSQLHandler( |