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

Unified Diff: Source/core/events/WindowEventContext.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/events/WheelEvent.cpp ('k') | Source/core/frame/BarProp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/WindowEventContext.h
diff --git a/Source/core/events/WindowEventContext.h b/Source/core/events/WindowEventContext.h
index f7c2acd4a2a794c64ff3508d5e28752ed85dea23..5d75c2b0938a04808488898b65e201a71461b128 100644
--- a/Source/core/events/WindowEventContext.h
+++ b/Source/core/events/WindowEventContext.h
@@ -27,6 +27,7 @@
#ifndef WindowEventContext_h
#define WindowEventContext_h
+#include "heap/Handle.h"
#include "wtf/RefPtr.h"
namespace WebCore {
@@ -46,7 +47,7 @@ public:
bool handleLocalEvents(Event* event);
private:
- RefPtr<DOMWindow> m_window;
+ RefPtrWillBePersistent<DOMWindow> m_window;
RefPtr<EventTarget> m_target;
};
« no previous file with comments | « Source/core/events/WheelEvent.cpp ('k') | Source/core/frame/BarProp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698