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

Unified Diff: Source/core/Init.cpp

Issue 580373002: [Invalidation Tracking] Trace StyleInvalidator setNeedsStyleRecalc (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: track custom pseudo Created 6 years, 2 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/Init.cpp
diff --git a/Source/core/Init.cpp b/Source/core/Init.cpp
index ed6e14159d6f48d1563469833639eb3e8e47be47..c83475b29977a8317983c6eeec0fbc4d9a3599a2 100644
--- a/Source/core/Init.cpp
+++ b/Source/core/Init.cpp
@@ -46,6 +46,8 @@
#include "core/XLinkNames.h"
#include "core/XMLNSNames.h"
#include "core/XMLNames.h"
+#include "core/css/invalidation/DescendantInvalidationSet.h"
+#include "core/css/invalidation/StyleInvalidator.h"
#include "core/dom/Document.h"
#include "core/dom/StyleChangeReason.h"
#include "core/events/EventFactory.h"
@@ -101,6 +103,8 @@ void CoreInitializer::init()
QualifiedName::init();
Partitions::init();
EventTracer::initialize();
+ DescendantInvalidationSet::init(); // Depends on EventTracer::initialize()
pdr. 2014/10/14 01:36:47 Are these still needed?
kouhei (in TOK) 2014/10/14 02:02:10 Yes. These caches pointers to tracing flag. Accoun
kouhei (in TOK) 2014/10/14 04:18:13 Discussed offline. I changed these flags to be ini
+ StyleInvalidator::init(); // Depends on EventTracer::initialize()
registerEventFactory();

Powered by Google App Engine
This is Rietveld 408576698