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

Unified Diff: sync/syncable/nigori_util.cc

Issue 805633004: Enable Null Syncable ID which is different than Root ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some dependencies on SERVER_PARENT_ID Created 6 years 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
Index: sync/syncable/nigori_util.cc
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc
index 2731e7fbbd9132aebcd863b1b6016f34ac958918..b43acfaef1959619c475df824e7247c117bf0440 100644
--- a/sync/syncable/nigori_util.cc
+++ b/sync/syncable/nigori_util.cc
@@ -112,7 +112,7 @@ bool VerifyDataTypeEncryptionForTest(
while (!to_visit.empty()) {
id_string = to_visit.front();
to_visit.pop();
- if (id_string.IsRoot())
+ if (id_string.IsNull())
continue;
Entry child(trans, GET_BY_ID, id_string);

Powered by Google App Engine
This is Rietveld 408576698