summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 00:28:23 +0000
committerdantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 00:28:23 +0000
commit745ba5b51ec711b2b253787cbe50263f1d75e2bb (patch)
treef104b31d3e105a6cd2fc5f251ac6f0fe4db2c00c
parent42d236bf62e2ee51b3640ac28d8d6565ce92f9ac (diff)
downloadchromium_src-745ba5b51ec711b2b253787cbe50263f1d75e2bb.zip
chromium_src-745ba5b51ec711b2b253787cbe50263f1d75e2bb.tar.gz
chromium_src-745ba5b51ec711b2b253787cbe50263f1d75e2bb.tar.bz2
Fix bug 40555. Make sure to nudge the syncer if you're syncing new data types, so it will download updates.
BUG=40555 TEST= Set up sync with some data types. Then customize sync to add or subtract some. Chrome should not crash or display command-line errors. Review URL: http://codereview.chromium.org/1566032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44035 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync/glue/sync_backend_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc
index a504a46..e58d84b 100644
--- a/chrome/browser/sync/glue/sync_backend_host.cc
+++ b/chrome/browser/sync/glue/sync_backend_host.cc
@@ -184,7 +184,7 @@ void SyncBackendHost::ConfigureDataTypes(const syncable::ModelTypeSet& types,
// If no new data types were added to the passive group, no need to
// wait for the syncer.
- if (has_new) {
+ if (!has_new) {
ready_task->Run();
delete ready_task;
return;