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

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

Issue 308073005: Oilpan: Replace RefPtrs to Node and its subclasses in core/events/ with Oilpan transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/MutationEvent.cpp ('k') | Source/core/events/NodeEventContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/NodeEventContext.h
diff --git a/Source/core/events/NodeEventContext.h b/Source/core/events/NodeEventContext.h
index bf9a5e513c76462877196c842b5185a62aac2c8a..3260367211ecacbfde43b479876ba77fc611f837 100644
--- a/Source/core/events/NodeEventContext.h
+++ b/Source/core/events/NodeEventContext.h
@@ -39,10 +39,12 @@ class NodeList;
class TouchEventContext;
class NodeEventContext {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
// FIXME: Use ContainerNode instead of Node.
- NodeEventContext(PassRefPtr<Node>, PassRefPtr<EventTarget> currentTarget);
+ NodeEventContext(PassRefPtrWillBeRawPtr<Node>, PassRefPtr<EventTarget> currentTarget);
~NodeEventContext();
+ void trace(Visitor*);
Node* node() const { return m_node.get(); }
@@ -57,7 +59,7 @@ public:
void handleLocalEvents(Event*) const;
private:
- RefPtr<Node> m_node;
+ RefPtrWillBeMember<Node> m_node;
RefPtr<EventTarget> m_currentTarget;
RefPtr<TreeScopeEventContext> m_treeScopeEventContext;
};
« no previous file with comments | « Source/core/events/MutationEvent.cpp ('k') | Source/core/events/NodeEventContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698