diff options
-rw-r--r-- | webkit/glue/multipart_response_delegate.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/multipart_response_delegate.cc b/webkit/glue/multipart_response_delegate.cc index 1fc9e34..19f5fea 100644 --- a/webkit/glue/multipart_response_delegate.cc +++ b/webkit/glue/multipart_response_delegate.cc @@ -9,7 +9,7 @@ #include "HTTPHeaderMap.h" #include "ResourceHandle.h" #include "ResourceHandleClient.h" -#include "String.h" +#include "PlatformString.h" #pragma warning(pop) #undef LOG @@ -87,7 +87,6 @@ void MultipartResponseDelegate::OnReceivedData(const char* data, int data_len) { } DCHECK(!processing_headers_); - int token_line_feed = 1; size_t boundary_pos; while ((boundary_pos = FindBoundary()) != std::string::npos) { if (boundary_pos > 0) { @@ -200,7 +199,7 @@ bool MultipartResponseDelegate::ParseHeaders() { "Range", "Set-Cookie" }; - for (int i = 0; i < arraysize(replace_headers); ++i) { + for (size_t i = 0; i < arraysize(replace_headers); ++i) { std::string name(replace_headers[i]); std::string value = net::GetSpecificHeader(headers, name); if (!value.empty()) { |