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

Side by Side Diff: Source/core/dom/shadow/ElementShadow.h

Issue 947393002: InlinedVisitor: Migrate dom 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 (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const SelectRuleFeatureSet& ensureSelectFeatureSet(); 62 const SelectRuleFeatureSet& ensureSelectFeatureSet();
63 63
64 void distributeIfNeeded(); 64 void distributeIfNeeded();
65 void setNeedsDistributionRecalc(); 65 void setNeedsDistributionRecalc();
66 66
67 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const; 67 const InsertionPoint* finalDestinationInsertionPointFor(const Node*) const;
68 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*) const; 68 const DestinationInsertionPoints* destinationInsertionPointsFor(const Node*) const;
69 69
70 void didDistributeNode(const Node*, InsertionPoint*); 70 void didDistributeNode(const Node*, InsertionPoint*);
71 71
72 void trace(Visitor*); 72 DECLARE_TRACE();
73 73
74 private: 74 private:
75 ElementShadow(); 75 ElementShadow();
76 76
77 #if !ENABLE(OILPAN) 77 #if !ENABLE(OILPAN)
78 void removeDetachedShadowRoots(); 78 void removeDetachedShadowRoots();
79 #endif 79 #endif
80 80
81 void distribute(); 81 void distribute();
82 void clearDistribution(); 82 void clearDistribution();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 inline void ElementShadow::distributeIfNeeded() 133 inline void ElementShadow::distributeIfNeeded()
134 { 134 {
135 if (m_needsDistributionRecalc) 135 if (m_needsDistributionRecalc)
136 distribute(); 136 distribute();
137 m_needsDistributionRecalc = false; 137 m_needsDistributionRecalc = false;
138 } 138 }
139 139
140 } // namespace 140 } // namespace
141 141
142 #endif 142 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698