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

Unified Diff: sync/syncable/syncable_base_transaction.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/syncable_base_transaction.cc
diff --git a/sync/syncable/syncable_base_transaction.cc b/sync/syncable/syncable_base_transaction.cc
index a1d3e8520846d0d8e75b4dc8b827bdb4a17c825d..8bcaf44ec277311ae128686803f4b246af655b06 100644
--- a/sync/syncable/syncable_base_transaction.cc
+++ b/sync/syncable/syncable_base_transaction.cc
@@ -12,7 +12,7 @@ namespace syncable {
// static
Id BaseTransaction::root_id() {
- return Id();
+ return Id::GetRoot();
}
Directory* BaseTransaction::directory() const {

Powered by Google App Engine
This is Rietveld 408576698