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) { |