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

Unified Diff: components/sync_driver/non_blocking_data_type_controller.cc

Issue 500383003: Remove implicit conversions from scoped_refptr to T* in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: components/sync_driver/non_blocking_data_type_controller.cc
diff --git a/components/sync_driver/non_blocking_data_type_controller.cc b/components/sync_driver/non_blocking_data_type_controller.cc
index 5b2b528b86218425342e8dfa5dfed32ef4e8e429..4a5abc0546bc0003618f9039c03b6dc2b60d0b86 100644
--- a/components/sync_driver/non_blocking_data_type_controller.cc
+++ b/components/sync_driver/non_blocking_data_type_controller.cc
@@ -116,7 +116,7 @@ bool NonBlockingDataTypeController::IsPreferred() const {
}
bool NonBlockingDataTypeController::IsSyncProxyConnected() const {
- return task_runner_ != NULL;
+ return task_runner_.get() != NULL;
}
bool NonBlockingDataTypeController::IsSyncBackendConnected() const {

Powered by Google App Engine
This is Rietveld 408576698