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

Unified Diff: chrome/browser/sync/glue/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/ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/ui_data_type_controller.cc b/chrome/browser/sync/glue/ui_data_type_controller.cc
index d4f0d804f108661025c9c9fbfff3f4100de3f145..a3e5b6144d1da24c90353f655b2a9d03accea2e3 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
@@ -201,7 +201,7 @@ void UIDataTypeController::AbortModelLoad() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
state_ = NOT_RUNNING;
- if (shared_change_processor_) {
+ if (shared_change_processor_.get()) {
shared_change_processor_ = NULL;
}
@@ -230,7 +230,7 @@ void UIDataTypeController::StartDone(
}
RecordStartFailure(start_result);
- if (shared_change_processor_) {
+ if (shared_change_processor_.get()) {
shared_change_processor_->Disconnect();
shared_change_processor_ = NULL;
}
@@ -251,7 +251,7 @@ void UIDataTypeController::Stop() {
State prev_state = state_;
state_ = STOPPING;
- if (shared_change_processor_) {
+ if (shared_change_processor_.get()) {
shared_change_processor_->Disconnect();
shared_change_processor_ = NULL;
}
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.cc ('k') | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698