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

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: IDL sequence<T> to T[] 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..8cd3d6448679d7004450f1bcb83051601c506b1c 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&);
+ Vector<RefPtrWillBeRawPtr<EventTarget>>& ensureEventPath(EventPath&);
hayato 2015/01/15 04:15:28 WillBeHeapVector?
kojii 2015/01/15 06:56:44 Done.
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