| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2  * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 
| 3  * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3  * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 
| 4  * | 4  * | 
| 5  * This library is free software; you can redistribute it and/or | 5  * This library is free software; you can redistribute it and/or | 
| 6  * modify it under the terms of the GNU Library General Public | 6  * modify it under the terms of the GNU Library General Public | 
| 7  * License as published by the Free Software Foundation; either | 7  * License as published by the Free Software Foundation; either | 
| 8  * version 2 of the License, or (at your option) any later version. | 8  * version 2 of the License, or (at your option) any later version. | 
| 9  * | 9  * | 
| 10  * This library is distributed in the hope that it will be useful, | 10  * This library is distributed in the hope that it will be useful, | 
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 265 } | 265 } | 
| 266 | 266 | 
| 267 inline void ElementRareData::releasePseudoElement(PseudoElement* element) | 267 inline void ElementRareData::releasePseudoElement(PseudoElement* element) | 
| 268 { | 268 { | 
| 269     if (!element) | 269     if (!element) | 
| 270         return; | 270         return; | 
| 271 | 271 | 
| 272     InspectorInstrumentation::pseudoElementDestroyed(element); | 272     InspectorInstrumentation::pseudoElementDestroyed(element); | 
| 273 | 273 | 
| 274     if (element->attached()) | 274     if (element->attached()) | 
| 275         element->detach(); | 275         element->destroyRenderTree(); | 
| 276 | 276 | 
| 277     ASSERT(!element->nextSibling()); | 277     ASSERT(!element->nextSibling()); | 
| 278     ASSERT(!element->previousSibling()); | 278     ASSERT(!element->previousSibling()); | 
| 279 | 279 | 
| 280     element->document().removeFromTopLayer(element); | 280     element->document().removeFromTopLayer(element); | 
| 281     element->setParentOrShadowHostNode(0); | 281     element->setParentOrShadowHostNode(0); | 
| 282 } | 282 } | 
| 283 | 283 | 
| 284 inline void ElementRareData::resetStyleState() | 284 inline void ElementRareData::resetStyleState() | 
| 285 { | 285 { | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 296     setChildrenAffectedByFirstChildRules(false); | 296     setChildrenAffectedByFirstChildRules(false); | 
| 297     setChildrenAffectedByLastChildRules(false); | 297     setChildrenAffectedByLastChildRules(false); | 
| 298     setChildrenAffectedByDirectAdjacentRules(false); | 298     setChildrenAffectedByDirectAdjacentRules(false); | 
| 299     setChildrenAffectedByForwardPositionalRules(false); | 299     setChildrenAffectedByForwardPositionalRules(false); | 
| 300     setChildrenAffectedByBackwardPositionalRules(false); | 300     setChildrenAffectedByBackwardPositionalRules(false); | 
| 301 } | 301 } | 
| 302 | 302 | 
| 303 } // namespace | 303 } // namespace | 
| 304 | 304 | 
| 305 #endif // ElementRareData_h | 305 #endif // ElementRareData_h | 
| OLD | NEW | 
|---|