| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 if (hasRareData()) | 169 if (hasRareData()) |
| 170 elementRareData()->clearShadow(); | 170 elementRareData()->clearShadow(); |
| 171 | 171 |
| 172 if (isCustomElement()) | 172 if (isCustomElement()) |
| 173 CustomElement::wasDestroyed(this); | 173 CustomElement::wasDestroyed(this); |
| 174 | 174 |
| 175 if (hasSyntheticAttrChildNodes()) | 175 if (hasSyntheticAttrChildNodes()) |
| 176 detachAllAttrNodesFromElement(); | 176 detachAllAttrNodesFromElement(); |
| 177 | 177 |
| 178 #if !ENABLE(OILPAN) |
| 178 if (hasPendingResources()) { | 179 if (hasPendingResources()) { |
| 179 document().accessSVGExtensions().removeElementFromPendingResources(this)
; | 180 document().accessSVGExtensions().removeElementFromPendingResources(this)
; |
| 180 ASSERT(!hasPendingResources()); | 181 ASSERT(!hasPendingResources()); |
| 181 } | 182 } |
| 183 #endif |
| 182 } | 184 } |
| 183 | 185 |
| 184 inline ElementRareData* Element::elementRareData() const | 186 inline ElementRareData* Element::elementRareData() const |
| 185 { | 187 { |
| 186 ASSERT(hasRareData()); | 188 ASSERT(hasRareData()); |
| 187 return static_cast<ElementRareData*>(rareData()); | 189 return static_cast<ElementRareData*>(rareData()); |
| 188 } | 190 } |
| 189 | 191 |
| 190 inline ElementRareData& Element::ensureElementRareData() | 192 inline ElementRareData& Element::ensureElementRareData() |
| 191 { | 193 { |
| (...skipping 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3343 || isHTMLObjectElement(*this) | 3345 || isHTMLObjectElement(*this) |
| 3344 || isHTMLAppletElement(*this) | 3346 || isHTMLAppletElement(*this) |
| 3345 || isHTMLCanvasElement(*this)) | 3347 || isHTMLCanvasElement(*this)) |
| 3346 return false; | 3348 return false; |
| 3347 if (FullscreenElementStack::isActiveFullScreenElement(this)) | 3349 if (FullscreenElementStack::isActiveFullScreenElement(this)) |
| 3348 return false; | 3350 return false; |
| 3349 return true; | 3351 return true; |
| 3350 } | 3352 } |
| 3351 | 3353 |
| 3352 } // namespace WebCore | 3354 } // namespace WebCore |
| OLD | NEW |