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

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

Issue 16290004: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/non_ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/non_ui_data_type_controller.cc b/chrome/browser/sync/glue/non_ui_data_type_controller.cc
index a1a476dea969ab06b656c9b20b651ed7deec5a1a..860ea10c585602eeea622e04516662e4ac62216a 100644
--- a/chrome/browser/sync/glue/non_ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/non_ui_data_type_controller.cc
@@ -398,7 +398,7 @@ void NonUIDataTypeController::ClearSharedChangeProcessor() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// |shared_change_processor_| can already be NULL if Stop() is
// called after StartDoneImpl(_, DISABLED, _).
- if (shared_change_processor_) {
+ if (shared_change_processor_.get()) {
shared_change_processor_->Disconnect();
shared_change_processor_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698