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

Unified Diff: third_party/WebKit/Source/platform/DateComponents.cpp

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/platform/DateComponents.cpp
diff --git a/third_party/WebKit/Source/platform/DateComponents.cpp b/third_party/WebKit/Source/platform/DateComponents.cpp
index 9df13bfd4d1e35d8fbb109a59e2842a2f76c12f8..5ad6e0b7dc0985e36e8553bf5603b88fd3848d4f 100644
--- a/third_party/WebKit/Source/platform/DateComponents.cpp
+++ b/third_party/WebKit/Source/platform/DateComponents.cpp
@@ -450,7 +450,7 @@ bool DateComponents::parseTime(const String& src,
} else { // digitsLength >= 3
ok = toInt(src, index, 3, millisecond);
}
- ASSERT_UNUSED(ok, ok);
+ DCHECK(ok);
index += digitsLength;
}
}

Powered by Google App Engine
This is Rietveld 408576698