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

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_view_mac.mm

Issue 6539002: Begun the DCHECK() cleanup. Starting off with /src/chrome/a* and /src/chrome/... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 10 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: chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
===================================================================
--- chrome/browser/autocomplete/autocomplete_popup_view_mac.mm (revision 75286)
+++ chrome/browser/autocomplete/autocomplete_popup_view_mac.mm (working copy)
@@ -177,7 +177,7 @@
// The ellipses should be the last character, and everything before
// that should match the original string.
const size_t i(elided.size() - 1);
- DCHECK(0 != elided.compare(0, i, originalString));
+ DCHECK_NE(0, elided.compare(0, i, originalString));
// Replace the end of |aString| with the ellipses from |elided|.
NSString* s = base::SysUTF16ToNSString(elided.substr(i));

Powered by Google App Engine
This is Rietveld 408576698