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

Unified Diff: components/sync/base/ordinal.h

Issue 2768923004: Remove redundant DCHECKs (Closed)
Patch Set: Created 3 years, 9 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 | net/spdy/spdy_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/ordinal.h
diff --git a/components/sync/base/ordinal.h b/components/sync/base/ordinal.h
index 92fc5eea1d34d0dc03d1896068217bfdbb3c3475..89dd3e7f73559be94870a370bb86c01a1078da86 100644
--- a/components/sync/base/ordinal.h
+++ b/components/sync/base/ordinal.h
@@ -405,7 +405,6 @@ template <typename Traits>
int Ordinal<Traits>::AddDigitValue(std::string* bytes,
size_t i,
int digit_value) {
- DCHECK_GE(i, 0U);
DCHECK_LT(i, bytes->length());
for (int j = static_cast<int>(i); j >= 0 && digit_value > 0; --j) {
« no previous file with comments | « no previous file | net/spdy/spdy_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698