summaryrefslogtreecommitdiffstats
path: root/sync/engine/sync_scheduler_unittest.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:50:29 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:50:29 +0000
commitbb7d12a10ca7e95ab07df84967cfed6b66bee08b (patch)
treef3dd2f9fa59a8ce55aa34d8505d4186bf29c05f0 /sync/engine/sync_scheduler_unittest.cc
parentad91dc59050338aab2fd258aea360f96dd7c1ab2 (diff)
downloadchromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.zip
chromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.tar.gz
chromium_src-bb7d12a10ca7e95ab07df84967cfed6b66bee08b.tar.bz2
[Sync] Pass ModelTypeSet by value everywhere
ModelTypeSet is small enough to not need to be passed around by const reference. BUG=145986 Review URL: https://chromiumcodereview.appspot.com/10905045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/sync_scheduler_unittest.cc')
-rw-r--r--sync/engine/sync_scheduler_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/engine/sync_scheduler_unittest.cc b/sync/engine/sync_scheduler_unittest.cc
index c9f68af..dbf7b4f 100644
--- a/sync/engine/sync_scheduler_unittest.cc
+++ b/sync/engine/sync_scheduler_unittest.cc
@@ -72,7 +72,7 @@ void PumpLoop() {
RunLoop();
}
-ModelSafeRoutingInfo TypesToRoutingInfo(const ModelTypeSet& types) {
+ModelSafeRoutingInfo TypesToRoutingInfo(ModelTypeSet types) {
ModelSafeRoutingInfo routes;
for (ModelTypeSet::Iterator iter = types.First(); iter.Good(); iter.Inc()) {
routes[iter.Get()] = GROUP_PASSIVE;