| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 StyleElement::finishParsingChildren(*this); | 99 StyleElement::finishParsingChildren(*this); |
| 100 SVGElement::finishParsingChildren(); | 100 SVGElement::finishParsingChildren(); |
| 101 if (result == StyleElement::ProcessingFatalError) | 101 if (result == StyleElement::ProcessingFatalError) |
| 102 notifyLoadedSheetAndAllCriticalSubresources( | 102 notifyLoadedSheetAndAllCriticalSubresources( |
| 103 ErrorOccurredLoadingSubresource); | 103 ErrorOccurredLoadingSubresource); |
| 104 } | 104 } |
| 105 | 105 |
| 106 Node::InsertionNotificationRequest SVGStyleElement::insertedInto( | 106 Node::InsertionNotificationRequest SVGStyleElement::insertedInto( |
| 107 ContainerNode* insertionPoint) { | 107 ContainerNode* insertionPoint) { |
| 108 SVGElement::insertedInto(insertionPoint); | 108 SVGElement::insertedInto(insertionPoint); |
| 109 StyleElement::insertedInto(*this, insertionPoint); | |
| 110 return InsertionShouldCallDidNotifySubtreeInsertions; | 109 return InsertionShouldCallDidNotifySubtreeInsertions; |
| 111 } | 110 } |
| 112 | 111 |
| 113 void SVGStyleElement::didNotifySubtreeInsertionsToDocument() { | 112 void SVGStyleElement::didNotifySubtreeInsertionsToDocument() { |
| 114 if (StyleElement::processStyleSheet(document(), *this) == | 113 if (StyleElement::processStyleSheet(document(), *this) == |
| 115 StyleElement::ProcessingFatalError) | 114 StyleElement::ProcessingFatalError) |
| 116 notifyLoadedSheetAndAllCriticalSubresources( | 115 notifyLoadedSheetAndAllCriticalSubresources( |
| 117 ErrorOccurredLoadingSubresource); | 116 ErrorOccurredLoadingSubresource); |
| 118 } | 117 } |
| 119 | 118 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 142 void SVGStyleElement::dispatchPendingEvent() { | 141 void SVGStyleElement::dispatchPendingEvent() { |
| 143 dispatchEvent(Event::create(EventTypeNames::error)); | 142 dispatchEvent(Event::create(EventTypeNames::error)); |
| 144 } | 143 } |
| 145 | 144 |
| 146 DEFINE_TRACE(SVGStyleElement) { | 145 DEFINE_TRACE(SVGStyleElement) { |
| 147 StyleElement::trace(visitor); | 146 StyleElement::trace(visitor); |
| 148 SVGElement::trace(visitor); | 147 SVGElement::trace(visitor); |
| 149 } | 148 } |
| 150 | 149 |
| 151 } // namespace blink | 150 } // namespace blink |
| OLD | NEW |