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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 // FIXME: consider using ActiveDOMObject. | 622 // FIXME: consider using ActiveDOMObject. |
623 if (m_scriptedAnimationController) | 623 if (m_scriptedAnimationController) |
624 m_scriptedAnimationController->clearDocumentPointer(); | 624 m_scriptedAnimationController->clearDocumentPointer(); |
625 m_scriptedAnimationController.clear(); | 625 m_scriptedAnimationController.clear(); |
626 | 626 |
627 if (svgExtensions()) | 627 if (svgExtensions()) |
628 accessSVGExtensions().pauseAnimations(); | 628 accessSVGExtensions().pauseAnimations(); |
629 | 629 |
630 m_lifecycle.advanceTo(DocumentLifecycle::Disposed); | 630 m_lifecycle.advanceTo(DocumentLifecycle::Disposed); |
631 lifecycleNotifier().notifyDocumentWasDisposed(); | 631 lifecycleNotifier().notifyDocumentWasDisposed(); |
| 632 |
| 633 InspectorInstrumentation::documentDisposed(this); |
632 } | 634 } |
633 | 635 |
634 SelectorQueryCache& Document::selectorQueryCache() | 636 SelectorQueryCache& Document::selectorQueryCache() |
635 { | 637 { |
636 if (!m_selectorQueryCache) | 638 if (!m_selectorQueryCache) |
637 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); | 639 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); |
638 return *m_selectorQueryCache; | 640 return *m_selectorQueryCache; |
639 } | 641 } |
640 | 642 |
641 MediaQueryMatcher& Document::mediaQueryMatcher() | 643 MediaQueryMatcher& Document::mediaQueryMatcher() |
(...skipping 4801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5443 } | 5445 } |
5444 | 5446 |
5445 void Document::invalidateNodeListCaches(const QualifiedName* attrName) | 5447 void Document::invalidateNodeListCaches(const QualifiedName* attrName) |
5446 { | 5448 { |
5447 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); | 5449 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); |
5448 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) | 5450 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) |
5449 (*it)->invalidateCache(attrName); | 5451 (*it)->invalidateCache(attrName); |
5450 } | 5452 } |
5451 | 5453 |
5452 } // namespace WebCore | 5454 } // namespace WebCore |
OLD | NEW |