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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h

Issue 2290543002: Avoid redundant hash calculations in CustomElementUpgradeSorter (Closed)
Patch Set: Created 4 years, 4 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 | third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h
index 89d4e0d8b42fe1dadea02c705085fa7b3244863d..e2dd50c84f62b8908391fa3041a91b4a3aafff1d 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.h
@@ -32,7 +32,7 @@ public:
private:
using ChildSet = HeapHashSet<Member<Node>>;
- using ParentChildMap = HeapHashMap<Member<Node>, ChildSet>;
+ using ParentChildMap = HeapHashMap<Member<Node>, Member<ChildSet>>;
enum AddResult {
kParentAlreadyExistsInMap,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698