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

Unified Diff: chrome_frame/test/test_server.cc

Issue 3968001: Update code that previously constructed strings from string iterators only to... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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: chrome_frame/test/test_server.cc
===================================================================
--- chrome_frame/test/test_server.cc (revision 63369)
+++ chrome_frame/test/test_server.cc (working copy)
@@ -48,7 +48,9 @@
while (it.GetNext()) {
if (LowerCaseEqualsASCII(it.name(), "content-length")) {
int int_content_length;
- base::StringToInt(it.values().c_str(), &int_content_length);
+ base::StringToInt(it.values().begin(),
+ it.values().end(),
+ &int_content_length);
content_length_ = int_content_length;
break;
}

Powered by Google App Engine
This is Rietveld 408576698