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

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

Issue 953693002: InlinedVisitor: Migrate css to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 1
2 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "config.h" 6 #include "config.h"
7 7
8 #include "core/css/invalidation/StyleInvalidator.h" 8 #include "core/css/invalidation/StyleInvalidator.h"
9 9
10 #include "core/css/invalidation/DescendantInvalidationSet.h" 10 #include "core/css/invalidation/DescendantInvalidationSet.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 if (recursionData.insertionPointCrossing() && element.isInsertionPoint()) 188 if (recursionData.insertionPointCrossing() && element.isInsertionPoint())
189 element.setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTrac ing::create(StyleChangeReason::StyleInvalidator)); 189 element.setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTrac ing::create(StyleChangeReason::StyleInvalidator));
190 190
191 element.clearChildNeedsStyleInvalidation(); 191 element.clearChildNeedsStyleInvalidation();
192 element.clearNeedsStyleInvalidation(); 192 element.clearNeedsStyleInvalidation();
193 193
194 return thisElementNeedsStyleRecalc; 194 return thisElementNeedsStyleRecalc;
195 } 195 }
196 196
197 void StyleInvalidator::trace(Visitor* visitor) 197 DEFINE_TRACE(StyleInvalidator)
198 { 198 {
199 #if ENABLE(OILPAN) 199 #if ENABLE(OILPAN)
200 visitor->trace(m_pendingInvalidationMap); 200 visitor->trace(m_pendingInvalidationMap);
201 #endif 201 #endif
202 } 202 }
203 203
204 } // namespace blink 204 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698