| 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 ede6666b1c5d84fa3772d10f622754a4be8bff9a..cea3bd3f12740be7ea90177d09d42de949fc68c7 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();
|
| -}
|
| -
|
| ArchiveResource* MHTMLArchive::mainResource() const
|
| {
|
| return m_mainResource.get();
|
|
|