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

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

Issue 1220713004: Oilpan: have FrameFetchContext keep a DocumentLoader member. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: non-oilpan compile fix Created 5 years, 6 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/loader/FrameFetchContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameFetchContext.cpp
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
index 0c9d982bd7832cb3e0b233e4ea53db919a2ecda6..208b1c540e5eb3ec74590b6b9117d6e78e68bbb0 100644
--- a/Source/core/loader/FrameFetchContext.cpp
+++ b/Source/core/loader/FrameFetchContext.cpp
@@ -197,7 +197,7 @@ ResourceRequestCachePolicy FrameFetchContext::resourceRequestCachePolicy(const R
// cannot see imported documents.
inline DocumentLoader* FrameFetchContext::ensureLoaderForNotifications()
{
- return m_documentLoader ? m_documentLoader : frame()->loader().documentLoader();
+ return m_documentLoader ? m_documentLoader.get() : frame()->loader().documentLoader();
}
void FrameFetchContext::dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority loadPriority, int intraPriorityValue)
@@ -664,6 +664,7 @@ bool FrameFetchContext::isLowPriorityIframe() const
DEFINE_TRACE(FrameFetchContext)
{
visitor->trace(m_document);
+ visitor->trace(m_documentLoader);
FetchContext::trace(visitor);
}
« no previous file with comments | « Source/core/loader/FrameFetchContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698