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); | |
634 } | 632 } |
635 | 633 |
636 SelectorQueryCache& Document::selectorQueryCache() | 634 SelectorQueryCache& Document::selectorQueryCache() |
637 { | 635 { |
638 if (!m_selectorQueryCache) | 636 if (!m_selectorQueryCache) |
639 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); | 637 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); |
640 return *m_selectorQueryCache; | 638 return *m_selectorQueryCache; |
641 } | 639 } |
642 | 640 |
643 MediaQueryMatcher& Document::mediaQueryMatcher() | 641 MediaQueryMatcher& Document::mediaQueryMatcher() |
(...skipping 4801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5445 } | 5443 } |
5446 | 5444 |
5447 void Document::invalidateNodeListCaches(const QualifiedName* attrName) | 5445 void Document::invalidateNodeListCaches(const QualifiedName* attrName) |
5448 { | 5446 { |
5449 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); | 5447 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); |
5450 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) | 5448 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) |
5451 (*it)->invalidateCache(attrName); | 5449 (*it)->invalidateCache(attrName); |
5452 } | 5450 } |
5453 | 5451 |
5454 } // namespace WebCore | 5452 } // namespace WebCore |
OLD | NEW |