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

Unified Diff: Source/core/events/WindowEventContext.h

Issue 336463002: Oilpan: Improve Oilpan support in EventContext and EventPath. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: FINAL 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 | « Source/core/events/TreeScopeEventContext.cpp ('k') | no next file » | 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 1756d6f73f8d44463abfd26099534cf8fb3ee444..a347e844f8a921fde1fc312145dcba09772a7ef1 100644
--- a/Source/core/events/WindowEventContext.h
+++ b/Source/core/events/WindowEventContext.h
@@ -39,6 +39,7 @@ class Node;
class NodeEventContext;
class WindowEventContext {
+ STACK_ALLOCATED();
public:
WindowEventContext(Event*, PassRefPtrWillBeRawPtr<Node>, const NodeEventContext*);
@@ -47,8 +48,8 @@ public:
bool handleLocalEvents(Event* event);
private:
- RefPtrWillBePersistent<DOMWindow> m_window;
- RefPtrWillBePersistent<EventTarget> m_target;
+ RefPtrWillBeMember<DOMWindow> m_window;
+ RefPtrWillBeMember<EventTarget> m_target;
};
inline DOMWindow* WindowEventContext::window() const
« no previous file with comments | « Source/core/events/TreeScopeEventContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698