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

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

Issue 1136953011: Shrinking EventPath to improve memory usage and performance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comment. Created 5 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 | « no previous file | Source/core/events/EventPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventPath.h
diff --git a/Source/core/events/EventPath.h b/Source/core/events/EventPath.h
index 8e355028e3ea33d9b882a59e3ef93176490c4a20..dbe2db45eaba79e096294b37cbd49fab5c5a163a 100644
--- a/Source/core/events/EventPath.h
+++ b/Source/core/events/EventPath.h
@@ -75,8 +75,6 @@ public:
private:
EventPath();
- void addNodeEventContext(Node&);
-
void initialize();
void calculatePath();
void calculateAdjustedTargets();
@@ -101,7 +99,7 @@ private:
const NodeEventContext& topNodeEventContext();
- WillBeHeapVector<NodeEventContext, 64> m_nodeEventContexts;
+ WillBeHeapVector<NodeEventContext> m_nodeEventContexts;
RawPtrWillBeMember<Node> m_node;
RawPtrWillBeMember<Event> m_event;
WillBeHeapVector<RefPtrWillBeMember<TreeScopeEventContext>> m_treeScopeEventContexts;
« no previous file with comments | « no previous file | Source/core/events/EventPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698