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

Unified Diff: Source/core/core.gypi

Issue 1023393002: Cache element indices for :nth-child and :nth-last-child selectors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clear cache after each operation Created 5 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/core.gypi
diff --git a/Source/core/core.gypi b/Source/core/core.gypi
index 7fb502cf431c0d452c1b966f0efef5393f9e07ed..4fcc16966874ab5f7ef6b4949d0078baf30180fa 100644
--- a/Source/core/core.gypi
+++ b/Source/core/core.gypi
@@ -2260,6 +2260,8 @@
'dom/NodeWithIndex.h',
'dom/NonDocumentTypeChildNode.h',
'dom/NonElementParentNode.h',
+ 'dom/NthIndexCache.cpp',
+ 'dom/NthIndexCache.h',
'dom/ParentNode.h',
'dom/PendingScript.cpp',
'dom/Position.cpp',
@@ -3740,6 +3742,7 @@
'dom/DocumentMarkerControllerTest.cpp',
'dom/DocumentTest.cpp',
'dom/MainThreadTaskRunnerTest.cpp',
+ 'dom/NthIndexCacheTest.cpp',
'dom/RangeTest.cpp',
'dom/ScriptRunnerTest.cpp',
'dom/TreeScopeTest.cpp',

Powered by Google App Engine
This is Rietveld 408576698