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

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

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. 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/Event.cpp ('k') | Source/core/events/TreeScopeEventContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TreeScopeEventContext.h
diff --git a/Source/core/events/TreeScopeEventContext.h b/Source/core/events/TreeScopeEventContext.h
index 11a7c8ab79d796557e66a1e1645ac4746bf50d12..7ac69fcece99c804dc4765593008d933ae2f4ef2 100644
--- a/Source/core/events/TreeScopeEventContext.h
+++ b/Source/core/events/TreeScopeEventContext.h
@@ -59,7 +59,7 @@ public:
TouchEventContext* touchEventContext() const { return m_touchEventContext.get(); }
TouchEventContext* ensureTouchEventContext();
- PassRefPtr<NodeList> ensureEventPath(EventPath&);
+ PassRefPtrWillBeRawPtr<NodeList> ensureEventPath(EventPath&);
bool isInclusiveAncestorOf(const TreeScopeEventContext&);
void addChild(TreeScopeEventContext& child) { m_children.append(&child); }
@@ -78,7 +78,7 @@ private:
TreeScope& m_treeScope;
RefPtr<EventTarget> m_target;
RefPtr<EventTarget> m_relatedTarget;
- RefPtr<NodeList> m_eventPath;
+ RefPtrWillBePersistent<NodeList> m_eventPath;
RefPtrWillBePersistent<TouchEventContext> m_touchEventContext;
Vector<TreeScopeEventContext*> m_children;
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/TreeScopeEventContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698