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

Unified Diff: chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc

Issue 426063008: [SyncFS] Fix a bug in LevelDBWrapper::Iterator::Next (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | chrome/browser/sync_file_system/drive_backend/leveldb_wrapper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc b/chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc
index abc597f8ab65a5b483dfca840d99f6b36919f9c1..a856b03f8b81abd6b2bbba1ee97dd6659a9be24f 100644
--- a/chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc
+++ b/chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.cc
@@ -60,6 +60,8 @@ void LevelDBWrapper::Iterator::Next() {
db_iterator_->Next();
if (comp >= 0)
++map_iterator_;
+ } else {
+ ++map_iterator_;
}
AdvanceIterators();
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/leveldb_wrapper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698