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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 1710733002: Move multipart resource handling to core/fetch (2/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup
Patch Set: rebase Created 4 years, 10 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/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index d76d6e3208fb1cff218d29d6ee93b32c84f43535..62f0ec115fedec0dd50405ac96feb0462a802a4b 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -568,7 +568,7 @@ void DocumentLoader::appendRedirect(const KURL& url)
bool DocumentLoader::loadingMultipartContent() const
{
- return mainResourceLoader() ? mainResourceLoader()->loadingMultipartContent() : false;
+ return mainResourceLoader() && m_mainResource ? m_mainResource->isMultipartImage() : false;
}
void DocumentLoader::detachFromFrame()

Powered by Google App Engine
This is Rietveld 408576698