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

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

Issue 328113004: Oilpan: make FrameLoadRequest be a stack allocated object. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoadRequest.h
diff --git a/Source/core/loader/FrameLoadRequest.h b/Source/core/loader/FrameLoadRequest.h
index 2e01a016195735738664c1c7f49f6021bd1de3ba..02ed53053853c0fc481ed8f630d3bc2f1f2c6c99 100644
--- a/Source/core/loader/FrameLoadRequest.h
+++ b/Source/core/loader/FrameLoadRequest.h
@@ -37,6 +37,7 @@ namespace WebCore {
class LocalFrame;
struct FrameLoadRequest {
+ STACK_ALLOCATED();
public:
explicit FrameLoadRequest(Document* originDocument)
: m_originDocument(originDocument)
@@ -101,14 +102,14 @@ public:
void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_shouldSendReferrer = shouldSendReferrer; }
private:
- RefPtrWillBePersistent<Document> m_originDocument;
+ RefPtrWillBeMember<Document> m_originDocument;
ResourceRequest m_resourceRequest;
AtomicString m_frameName;
SubstituteData m_substituteData;
bool m_lockBackForwardList;
ClientRedirectPolicy m_clientRedirect;
- RefPtrWillBePersistent<Event> m_triggeringEvent;
- RefPtrWillBePersistent<FormState> m_formState;
+ RefPtrWillBeMember<Event> m_triggeringEvent;
+ RefPtrWillBeMember<FormState> m_formState;
ShouldSendReferrer m_shouldSendReferrer;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698