Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp

Issue 2054643003: Remove duplication of encoded image data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a comment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 31e8389897ba03dbbff62479cf5bd80ba306983d..288ec2bdd886c5a0430dc08b8d18844c498ac449 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
@@ -894,7 +894,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());
haraken 2016/07/13 02:18:30 You don't need to fix it in this CL but here we sh
hajimehoshi 2016/07/13 07:36:22 Done.
return m_archive ? m_archive->mainResource() : nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698