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

Unified Diff: Source/core/dom/EventContext.cpp

Issue 14508005: Support an Event Path API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: event.path() now returns a different view for each node. Created 7 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
Index: Source/core/dom/EventContext.cpp
diff --git a/Source/core/dom/EventContext.cpp b/Source/core/dom/EventContext.cpp
index 5161783178fd5b32df40aa48be8b569dc34e67ac..978c47868f829a6b4525f9e36f5ea40c1c8f8041 100644
--- a/Source/core/dom/EventContext.cpp
+++ b/Source/core/dom/EventContext.cpp
@@ -129,7 +129,7 @@ bool TouchEventContext::isTouchEventContext() const
void TouchEventContext::checkReachability(TouchList* touchList) const
{
for (size_t i = 0; i < touchList->length(); ++i)
- ASSERT(isReachable(touchList->item(i)->target()->toNode()));
+ ASSERT(m_node->canReach(touchList->item(i)->target()->toNode()));
}
#endif
« no previous file with comments | « Source/core/dom/EventContext.h ('k') | Source/core/dom/Node.h » ('j') | Source/core/dom/Node.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698