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

Unified Diff: android_webview/native/aw_web_resource_response_impl.cc

Issue 337473004: aw: Use comparison DCHECKs where appropriate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « android_webview/native/aw_settings.cc ('k') | android_webview/native/input_stream_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_web_resource_response_impl.cc
diff --git a/android_webview/native/aw_web_resource_response_impl.cc b/android_webview/native/aw_web_resource_response_impl.cc
index caaac83de80ab8dcd9ebe35d76ddbc948c5d0815..1fe5b28e18bb1e21193c5469f56616cbfe1b8a3b 100644
--- a/android_webview/native/aw_web_resource_response_impl.cc
+++ b/android_webview/native/aw_web_resource_response_impl.cc
@@ -87,7 +87,7 @@ bool AwWebResourceResponseImpl::GetResponseHeaders(
env, jstringArray_headerNames.obj(), &header_names);
AppendJavaStringArrayToStringVector(
env, jstringArray_headerValues.obj(), &header_values);
- DCHECK(header_names.size() == header_values.size());
+ DCHECK_EQ(header_values.size(), header_names.size());
for(size_t i = 0; i < header_names.size(); ++i) {
std::string header_line(header_names[i]);
header_line.append(": ");
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/native/input_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698