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

Side by Side Diff: third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp

Issue 1746673002: Node.h #include parsimony. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unrelated change Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/invalidation/StyleInvalidator.h" 5 #include "core/css/invalidation/StyleInvalidator.h"
6 6
7 #include "core/css/invalidation/InvalidationSet.h" 7 #include "core/css/invalidation/InvalidationSet.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
10 #include "core/dom/ElementTraversal.h" 10 #include "core/dom/ElementTraversal.h"
11 #include "core/dom/StyleChangeReason.h"
11 #include "core/dom/shadow/ElementShadow.h" 12 #include "core/dom/shadow/ElementShadow.h"
12 #include "core/dom/shadow/ShadowRoot.h" 13 #include "core/dom/shadow/ShadowRoot.h"
13 #include "core/html/HTMLSlotElement.h" 14 #include "core/html/HTMLSlotElement.h"
14 #include "core/inspector/InspectorTraceEvents.h" 15 #include "core/inspector/InspectorTraceEvents.h"
15 #include "core/layout/LayoutObject.h" 16 #include "core/layout/LayoutObject.h"
16 17
17 namespace blink { 18 namespace blink {
18 19
19 // StyleInvalidator methods are super sensitive to performance benchmarks. 20 // StyleInvalidator methods are super sensitive to performance benchmarks.
20 // We easily get 1% regression per additional if statement on recursive 21 // We easily get 1% regression per additional if statement on recursive
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 329 }
329 330
330 DEFINE_TRACE(StyleInvalidator) 331 DEFINE_TRACE(StyleInvalidator)
331 { 332 {
332 #if ENABLE(OILPAN) 333 #if ENABLE(OILPAN)
333 visitor->trace(m_pendingInvalidationMap); 334 visitor->trace(m_pendingInvalidationMap);
334 #endif 335 #endif
335 } 336 }
336 337
337 } // namespace blink 338 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698