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

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

Issue 849783002: Event.path should include Window (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments fixed Created 5 years, 11 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
Index: Source/core/events/TreeScopeEventContext.h
diff --git a/Source/core/events/TreeScopeEventContext.h b/Source/core/events/TreeScopeEventContext.h
index b6d018da498630c18bd5753653e1519793b248c7..bea6db17ec048eb54b1d4c47428a98c6ccf4cb77 100644
--- a/Source/core/events/TreeScopeEventContext.h
+++ b/Source/core/events/TreeScopeEventContext.h
@@ -62,7 +62,7 @@ public:
TouchEventContext* touchEventContext() const { return m_touchEventContext.get(); }
TouchEventContext* ensureTouchEventContext();
- PassRefPtrWillBeRawPtr<StaticNodeList> ensureEventPath(EventPath&);
+ WillBeHeapVector<RefPtrWillBeRawPtr<EventTarget>>& ensureEventPath(EventPath&);
bool isInclusiveAncestorOf(const TreeScopeEventContext&);
void addChild(TreeScopeEventContext& child) { m_children.append(&child); }
@@ -82,7 +82,7 @@ private:
RefPtrWillBeMember<Node> m_rootNode; // Prevents TreeScope from being freed. TreeScope itself isn't RefCounted.
RefPtrWillBeMember<EventTarget> m_target;
RefPtrWillBeMember<EventTarget> m_relatedTarget;
- RefPtrWillBeMember<StaticNodeList> m_eventPath;
+ OwnPtrWillBeMember<WillBeHeapVector<RefPtr<EventTarget>>> m_eventPath;
RefPtrWillBeMember<TouchEventContext> m_touchEventContext;
WillBeHeapVector<RawPtrWillBeMember<TreeScopeEventContext>> m_children;

Powered by Google App Engine
This is Rietveld 408576698