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

Unified Diff: Source/core/frame/Frame.h

Issue 211373002: Oilpan: move DOMWindow object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: setNativeInfoForInnerGlobalObject() -> setNativeInfoForHiddenWrapper() Created 6 years, 9 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/frame/DOMWindow.cpp ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 82edd69195305712220249d113f3020077587c98..a4b404a632819c5db58264c470b03bd5b141a138 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -28,6 +28,7 @@
#ifndef Frame_h
#define Frame_h
+#include "heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
#include "wtf/RefCounted.h"
@@ -71,7 +72,7 @@ public:
// FIXME: DOMWindow and Document should both be moved to LocalFrame
// after RemoteFrame is complete enough to exist without them.
- virtual void setDOMWindow(PassRefPtr<DOMWindow>);
+ virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>);
DOMWindow* domWindow() const;
Document* document() const;
@@ -93,7 +94,7 @@ protected:
FrameHost* m_host;
HTMLFrameOwnerElement* m_ownerElement;
- RefPtr<DOMWindow> m_domWindow;
+ RefPtrWillBePersistent<DOMWindow> m_domWindow;
private:
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698