| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 m_allDescendantsMightBeInvalid = true; | 201 m_allDescendantsMightBeInvalid = true; |
| 202 m_customPseudoInvalid = false; | 202 m_customPseudoInvalid = false; |
| 203 m_treeBoundaryCrossing = false; | 203 m_treeBoundaryCrossing = false; |
| 204 m_insertionPointCrossing = false; | 204 m_insertionPointCrossing = false; |
| 205 m_classes = nullptr; | 205 m_classes = nullptr; |
| 206 m_ids = nullptr; | 206 m_ids = nullptr; |
| 207 m_tagNames = nullptr; | 207 m_tagNames = nullptr; |
| 208 m_attributes = nullptr; | 208 m_attributes = nullptr; |
| 209 } | 209 } |
| 210 | 210 |
| 211 void DescendantInvalidationSet::trace(Visitor* visitor) | 211 DEFINE_TRACE(DescendantInvalidationSet) |
| 212 { | 212 { |
| 213 #if ENABLE(OILPAN) | 213 #if ENABLE(OILPAN) |
| 214 visitor->trace(m_classes); | 214 visitor->trace(m_classes); |
| 215 visitor->trace(m_ids); | 215 visitor->trace(m_ids); |
| 216 visitor->trace(m_tagNames); | 216 visitor->trace(m_tagNames); |
| 217 visitor->trace(m_attributes); | 217 visitor->trace(m_attributes); |
| 218 #endif | 218 #endif |
| 219 } | 219 } |
| 220 | 220 |
| 221 void DescendantInvalidationSet::toTracedValue(TracedValue* value) const | 221 void DescendantInvalidationSet::toTracedValue(TracedValue* value) const |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 { | 269 { |
| 270 RefPtr<TracedValue> value = TracedValue::create(); | 270 RefPtr<TracedValue> value = TracedValue::create(); |
| 271 value->beginArray("DescendantInvalidationSet"); | 271 value->beginArray("DescendantInvalidationSet"); |
| 272 toTracedValue(value.get()); | 272 toTracedValue(value.get()); |
| 273 value->endArray(); | 273 value->endArray(); |
| 274 fprintf(stderr, "%s\n", value->asTraceFormat().ascii().data()); | 274 fprintf(stderr, "%s\n", value->asTraceFormat().ascii().data()); |
| 275 } | 275 } |
| 276 #endif // NDEBUG | 276 #endif // NDEBUG |
| 277 | 277 |
| 278 } // namespace blink | 278 } // namespace blink |
| OLD | NEW |