diff options
author | nyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-05 21:25:23 +0000 |
---|---|---|
committer | nyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-05 21:25:23 +0000 |
commit | 1d504c63516eb51f2f7c577188f241ea3071be51 (patch) | |
tree | b9e619d181c063eaf17300ea5937828614207fc0 /sync | |
parent | e9c00f1dd535a53386d6039624d778a85f438040 (diff) | |
download | chromium_src-1d504c63516eb51f2f7c577188f241ea3071be51.zip chromium_src-1d504c63516eb51f2f7c577188f241ea3071be51.tar.gz chromium_src-1d504c63516eb51f2f7c577188f241ea3071be51.tar.bz2 |
[sync] Remove unecessary DCHECK in Directory::PurgeEntriesWithTypeIn
There is currently a DCHECK in Directory::PurgeEntriesWithTypeIn that is
not needed and not necessarily correct. It triggers if there are
multiple datatypes being disabled at different times.
BUG=113164
Review URL: https://chromiumcodereview.appspot.com/12226014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/syncable/directory.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sync/syncable/directory.cc b/sync/syncable/directory.cc index f4eac2d..f52503f 100644 --- a/sync/syncable/directory.cc +++ b/sync/syncable/directory.cc @@ -563,8 +563,6 @@ bool Directory::VacuumAfterSaveChanges(const SaveChangesSnapshot& snapshot) { bool Directory::PurgeEntriesWithTypeIn(ModelTypeSet types, ModelTypeSet types_to_journal) { - DCHECK(types.HasAll(types_to_journal)); - if (types.Empty()) return true; |