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

Unified Diff: sync/test/engine/syncer_command_test.h

Issue 16298002: Update sync/, sql/, and printing/ 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
« no previous file with comments | « sync/notifier/non_blocking_invalidator.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/syncer_command_test.h
diff --git a/sync/test/engine/syncer_command_test.h b/sync/test/engine/syncer_command_test.h
index 93792126f82a1a0a95ed98c8566c1fcbdc2c3e18..94d1182585bd08427a14ab15a94a88df0d772eaf 100644
--- a/sync/test/engine/syncer_command_test.h
+++ b/sync/test/engine/syncer_command_test.h
@@ -83,7 +83,7 @@ class SyncerCommandTestBase : public testing::Test,
std::vector<ModelSafeWorker*> workers;
std::vector<scoped_refptr<ModelSafeWorker> >::iterator it;
for (it = workers_.begin(); it != workers_.end(); ++it)
- workers.push_back(*it);
+ workers.push_back(it->get());
return workers;
}
void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) {
« no previous file with comments | « sync/notifier/non_blocking_invalidator.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698