Index: third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp |
index 554ef07d132cb9a38bbd276a051c2edb736dd222..93d37179727b88eca6458541bbb12d0c4fee1558 100644 |
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp |
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp |
@@ -893,7 +893,7 @@ ArchiveResource* ResourceFetcher::createArchive(Resource* resource) |
// Only the top-frame can load MHTML. |
if (!context().isMainFrame()) |
return nullptr; |
- m_archive = MHTMLArchive::create(resource->url(), resource->resourceBuffer()); |
+ m_archive = MHTMLArchive::create(resource->url(), resource->resourceBuffer().get()); |
return m_archive ? m_archive->mainResource() : nullptr; |
} |