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

Unified Diff: components/sync_driver/non_ui_data_type_controller_unittest.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_ui_data_type_controller_unittest.cc
diff --git a/components/sync_driver/non_ui_data_type_controller_unittest.cc b/components/sync_driver/non_ui_data_type_controller_unittest.cc
index 61720192e1d927b6dbb778946f689d3f4e78b3b3..3f9e87ba4fe114418c1e6e35ebbb94326f7c9d1d 100644
--- a/components/sync_driver/non_ui_data_type_controller_unittest.cc
+++ b/components/sync_driver/non_ui_data_type_controller_unittest.cc
@@ -131,7 +131,7 @@ class NonUIDataTypeControllerFake
}
virtual SharedChangeProcessor* CreateSharedChangeProcessor() OVERRIDE {
- return change_processor_;
+ return change_processor_.get();
}
protected:
@@ -196,7 +196,7 @@ class SyncNonUIDataTypeControllerTest : public testing::Test {
non_ui_dtc_ =
new NonUIDataTypeControllerFake(NULL,
dtc_mock_.get(),
- change_processor_,
+ change_processor_.get(),
backend_thread_.message_loop_proxy());
}

Powered by Google App Engine
This is Rietveld 408576698