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

Unified Diff: Source/core/loader/FrameLoader.h

Issue 1194003004: Oilpan: enable appcache + move DocumentLoader to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased 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/FrameFetchContextTest.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.h
diff --git a/Source/core/loader/FrameLoader.h b/Source/core/loader/FrameLoader.h
index 1aae7db2ff17f2c00bdd134a6d2e6ae384321d12..466da273145243e53f591167b0546ea80c96e438 100644
--- a/Source/core/loader/FrameLoader.h
+++ b/Source/core/loader/FrameLoader.h
@@ -211,6 +211,8 @@ private:
void scheduleCheckCompleted();
+ void detachDocumentLoader(RefPtrWillBeMember<DocumentLoader>&);
+
RawPtrWillBeMember<LocalFrame> m_frame;
// FIXME: These should be OwnPtr<T> to reduce build times and simplify
@@ -226,9 +228,9 @@ private:
// a new request is being loaded, the old document loader may still be referenced.
// E.g. while a new request is in the "policy" state, the old document loader may
// be consulted in particular as it makes sense to imply certain settings on the new loader.
- RefPtr<DocumentLoader> m_documentLoader;
- RefPtr<DocumentLoader> m_provisionalDocumentLoader;
- RefPtr<DocumentLoader> m_policyDocumentLoader;
+ RefPtrWillBeMember<DocumentLoader> m_documentLoader;
+ RefPtrWillBeMember<DocumentLoader> m_provisionalDocumentLoader;
+ RefPtrWillBeMember<DocumentLoader> m_policyDocumentLoader;
RefPtrWillBeMember<HistoryItem> m_currentItem;
RefPtrWillBeMember<HistoryItem> m_provisionalItem;
« no previous file with comments | « Source/core/loader/FrameFetchContextTest.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698