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

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

Issue 182683002: Lazy evaluation of event.path by numbering TreeScopes in DFS order for later O(1) queries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Implement lazy evaluation Created 6 years, 9 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/EventPath.h
diff --git a/Source/core/events/EventPath.h b/Source/core/events/EventPath.h
index 617f7cc37ed0d82246c63fae3e65117e621af092..98c559b3a7dde9db9e19462c2b731c06484b62e3 100644
--- a/Source/core/events/EventPath.h
+++ b/Source/core/events/EventPath.h
@@ -75,7 +75,7 @@ private:
void calculatePath();
void calculateAdjustedTargets();
- void calculateAdjustedEventPath();
+ void numberTreeScopeEventContexts();
void shrink(size_t newSize) { m_nodeEventContexts.shrink(newSize); }
void shrinkIfNeeded(const Node* target, const EventTarget* relatedTarget);

Powered by Google App Engine
This is Rietveld 408576698