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

Unified Diff: blimp/helium/version_vector.cc

Issue 2402153002: Add CompoundSyncable class for synchronizing containers of Syncables. (Closed)
Patch Set: make literal unsigned Created 4 years, 2 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 | « blimp/helium/syncable_unittest.cc ('k') | blimp/net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/helium/version_vector.cc
diff --git a/blimp/helium/version_vector.cc b/blimp/helium/version_vector.cc
index 4ccaefc49d3cf3df57e985966918abbf103f095b..85e085129c428695c7e5e6083c5a1c6474495773 100644
--- a/blimp/helium/version_vector.cc
+++ b/blimp/helium/version_vector.cc
@@ -18,7 +18,7 @@ VersionVector::VersionVector(Revision local_revision, Revision remote_revision)
VersionVector::Comparison VersionVector::CompareTo(
const VersionVector& other) const {
- DCHECK(local_revision_ >= other.local_revision());
+ DCHECK_GE(local_revision_, other.local_revision());
if (local_revision_ == other.local_revision()) {
if (remote_revision_ == other.remote_revision()) {
« no previous file with comments | « blimp/helium/syncable_unittest.cc ('k') | blimp/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698