Index: third_party/WebKit/Source/platform/network/HTTPParsers.cpp |
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp |
index 91b38a991c4799bf83713d2ed3c4382dd46b6c63..02f45ec1c894de248b19d7a7f023d613537c2907 100644 |
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp |
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp |
@@ -454,8 +454,9 @@ void findCharsetInMediaType(const String& mediaType, |
// name, but there may be others |
continue; |
- while (pos != length && (mediaType[pos] <= ' ' || mediaType[pos] == '"' || |
- mediaType[pos] == '\'')) |
+ while (pos != length && |
+ (mediaType[pos] <= ' ' || mediaType[pos] == '"' || |
+ mediaType[pos] == '\'')) |
++pos; |
// we don't handle spaces within quoted parameter values, because charset |
@@ -639,8 +640,9 @@ static void parseCacheHeader(const String& header, |
if (nextDoubleQuotePosition != kNotFound) { |
// Store the value as a quoted string without quotes |
result.push_back(std::pair<String, String>( |
- directive, value.substring(1, nextDoubleQuotePosition - 1) |
- .stripWhiteSpace())); |
+ directive, |
+ value.substring(1, nextDoubleQuotePosition - 1) |
+ .stripWhiteSpace())); |
pos += |
(safeHeader.find('"', pos) - pos) + nextDoubleQuotePosition + 1; |
// Move past next comma, if there is one |