| 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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 | 589 |
| 590 m_scriptedIdleTaskController.clear(); | 590 m_scriptedIdleTaskController.clear(); |
| 591 | 591 |
| 592 if (svgExtensions()) | 592 if (svgExtensions()) |
| 593 accessSVGExtensions().pauseAnimations(); | 593 accessSVGExtensions().pauseAnimations(); |
| 594 | 594 |
| 595 m_lifecycle.advanceTo(DocumentLifecycle::Disposed); | 595 m_lifecycle.advanceTo(DocumentLifecycle::Disposed); |
| 596 DocumentLifecycleNotifier::notifyDocumentWasDisposed(); | 596 DocumentLifecycleNotifier::notifyDocumentWasDisposed(); |
| 597 | 597 |
| 598 m_canvasFontCache.clear(); | 598 m_canvasFontCache.clear(); |
| 599 m_nodeCount = 0; | |
| 600 } | 599 } |
| 601 #endif | 600 #endif |
| 602 | 601 |
| 603 SelectorQueryCache& Document::selectorQueryCache() | 602 SelectorQueryCache& Document::selectorQueryCache() |
| 604 { | 603 { |
| 605 if (!m_selectorQueryCache) | 604 if (!m_selectorQueryCache) |
| 606 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); | 605 m_selectorQueryCache = adoptPtr(new SelectorQueryCache()); |
| 607 return *m_selectorQueryCache; | 606 return *m_selectorQueryCache; |
| 608 } | 607 } |
| 609 | 608 |
| (...skipping 5109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5719 #ifndef NDEBUG | 5718 #ifndef NDEBUG |
| 5720 using namespace blink; | 5719 using namespace blink; |
| 5721 void showLiveDocumentInstances() | 5720 void showLiveDocumentInstances() |
| 5722 { | 5721 { |
| 5723 Document::WeakDocumentSet& set = Document::liveDocumentSet(); | 5722 Document::WeakDocumentSet& set = Document::liveDocumentSet(); |
| 5724 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5723 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 5725 for (Document* document : set) | 5724 for (Document* document : set) |
| 5726 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); | 5725 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); |
| 5727 } | 5726 } |
| 5728 #endif | 5727 #endif |
| OLD | NEW |