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 1fc9d098c705f61c0c7c0ff4a15757827586c93d..892fa6883c7b51e9612798778f136c261b1cf8d9 100644 |
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp |
@@ -227,23 +227,6 @@ void MHTMLArchive::generateMHTMLFooter( |
outputBuffer.append(asciiString.data(), asciiString.length()); |
} |
-PassRefPtr<SharedBuffer> MHTMLArchive::generateMHTMLData( |
- const Vector<SerializedResource>& resources, |
- EncodingPolicy encodingPolicy, |
- const String& title, const String& mimeType) |
-{ |
- String boundary = MHTMLArchive::generateMHTMLBoundary(); |
- |
- RefPtr<SharedBuffer> mhtmlData = SharedBuffer::create(); |
- MHTMLArchive::generateMHTMLHeader(boundary, title, mimeType, *mhtmlData); |
- for (const auto& resource : resources) { |
- MHTMLArchive::generateMHTMLPart( |
- boundary, encodingPolicy, resource, *mhtmlData); |
- } |
- MHTMLArchive::generateMHTMLFooter(boundary, *mhtmlData); |
- return mhtmlData.release(); |
-} |
- |
#if !ENABLE(OILPAN) |
void MHTMLArchive::clearAllSubframeArchives() |
{ |