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

Unified Diff: chrome/browser/alternate_nav_url_fetcher.cc

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/alternate_nav_url_fetcher.cc
===================================================================
--- chrome/browser/alternate_nav_url_fetcher.cc (revision 75286)
+++ chrome/browser/alternate_nav_url_fetcher.cc (working copy)
@@ -93,7 +93,7 @@
int response_code,
const ResponseCookies& cookies,
const std::string& data) {
- DCHECK(fetcher_.get() == source);
+ DCHECK_EQ(fetcher_.get(), source);
SetStatusFromURLFetch(url, status, response_code);
ShowInfobarIfPossible();
}
@@ -111,7 +111,7 @@
size_t* link_offset) const {
const string16 label = l10n_util::GetStringFUTF16(
IDS_ALTERNATE_NAV_URL_VIEW_LABEL, string16(), link_offset);
- DCHECK(*link_offset != string16::npos);
+ DCHECK_NE(*link_offset, string16::npos);
return label;
}

Powered by Google App Engine
This is Rietveld 408576698