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

Unified Diff: Source/core/loader/ImageLoader.cpp

Issue 640463003: MemoryCache: Enable MemoryCache to have multiple isolated resource maps (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tweak variable names Created 6 years, 2 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
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/ImageLoader.cpp
diff --git a/Source/core/loader/ImageLoader.cpp b/Source/core/loader/ImageLoader.cpp
index efb25bdab2b1f03caac65033c557558d6dc2e269..7d4b10d2d172ea89a7f60307748411d33eb10ddb 100644
--- a/Source/core/loader/ImageLoader.cpp
+++ b/Source/core/loader/ImageLoader.cpp
@@ -365,7 +365,7 @@ bool ImageLoader::shouldLoadImmediately(const KURL& url, LoadType loadType) cons
|| isHTMLObjectElement(m_element)
|| isHTMLEmbedElement(m_element)
|| url.protocolIsData()
- || memoryCache()->resourceForURL(url)
+ || memoryCache()->resourceForURL(url, m_element->document().fetcher()->getCacheIdentifier())
|| loadType == ForceLoadImmediately);
}
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698