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