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

Unified Diff: chrome/browser/sync/glue/typed_url_data_type_controller.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/sync/glue/typed_url_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.cc b/chrome/browser/sync/glue/typed_url_data_type_controller.cc
index 88a9d238d6b557a82cd22982a1e558d5d01a705d..8f18cefd729b84ae70ccdd52f5ecf07392a65cde 100644
--- a/chrome/browser/sync/glue/typed_url_data_type_controller.cc
+++ b/chrome/browser/sync/glue/typed_url_data_type_controller.cc
@@ -118,7 +118,7 @@ bool TypedUrlDataTypeController::PostTaskOnBackendThread(
const base::Closure& task) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
HistoryService* history = HistoryServiceFactory::GetForProfile(
- profile(), Profile::IMPLICIT_ACCESS);
+ profile(), Profile::IMPLICIT_ACCESS).get();
if (history) {
history->ScheduleDBTask(new RunTaskOnHistoryThread(task, this),
&cancelable_consumer_);

Powered by Google App Engine
This is Rietveld 408576698