Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: chrome/browser/android/history_report/history_report_jni_bridge.cc

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Replace in .mm files Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/history_report/history_report_jni_bridge.cc
diff --git a/chrome/browser/android/history_report/history_report_jni_bridge.cc b/chrome/browser/android/history_report/history_report_jni_bridge.cc
index 26ed8f56e5221a9fe2d9f513b361fcd420b5d390..3892b5859d06fe4c8a1303f3065c97057d156744 100644
--- a/chrome/browser/android/history_report/history_report_jni_bridge.cc
+++ b/chrome/browser/android/history_report/history_report_jni_bridge.cc
@@ -52,7 +52,7 @@ HistoryReportJniBridge::HistoryReportJniBridge(JNIEnv* env, jobject obj)
usage_reports_buffer_service_.reset(
new UsageReportsBufferService(profile->GetPath()));
usage_reports_buffer_service_->Init();
- bookmark_model_.reset(BookmarkModelFactory::GetForProfile(profile));
+ bookmark_model_.reset(BookmarkModelFactory::GetForBrowserContext(profile));
base::Callback<void(void)> on_change = base::Bind(
&history_report::HistoryReportJniBridge::NotifyDataChanged,
base::Unretained(this));

Powered by Google App Engine
This is Rietveld 408576698