Index: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
index a4f4b997fd5e27be932abc49ec012d045112143f..13ae63b0bd9b8cd44e4fbb9f7322ddd87980ede7 100644 |
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
@@ -139,9 +139,7 @@ |
ASSERT(contentID.isEmpty() || contentID[0] == '<'); |
StringBuilder stringBuilder; |
- stringBuilder.append("--"); |
- stringBuilder.append(boundary); |
- stringBuilder.append("\r\n"); |
+ stringBuilder.append("--" + boundary + "\r\n"); |
stringBuilder.appendLiteral("Content-Type: "); |
stringBuilder.append(resource.mimeType); |
@@ -167,7 +165,7 @@ |
if (!resource.url.protocolIsAbout()) { |
stringBuilder.appendLiteral("Content-Location: "); |
- stringBuilder.append(resource.url.getString()); |
+ stringBuilder.append(resource.url); |
stringBuilder.appendLiteral("\r\n"); |
} |