| 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 3706 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3717     if (m_cssTarget) |  3717     if (m_cssTarget) | 
|  3718         m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |  3718         m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); | 
|  3719     m_cssTarget = newTarget; |  3719     m_cssTarget = newTarget; | 
|  3720     if (m_cssTarget) |  3720     if (m_cssTarget) | 
|  3721         m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |  3721         m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); | 
|  3722 } |  3722 } | 
|  3723  |  3723  | 
|  3724 void Document::registerNodeList(const LiveNodeListBase* list) |  3724 void Document::registerNodeList(const LiveNodeListBase* list) | 
|  3725 { |  3725 { | 
|  3726 #if ENABLE(OILPAN) |  3726 #if ENABLE(OILPAN) | 
 |  3727     ASSERT(!m_nodeLists[list->invalidationType()].contains(list)); | 
|  3727     m_nodeLists[list->invalidationType()].add(list); |  3728     m_nodeLists[list->invalidationType()].add(list); | 
|  3728 #else |  3729 #else | 
|  3729     m_nodeListCounts[list->invalidationType()]++; |  3730     m_nodeListCounts[list->invalidationType()]++; | 
|  3730 #endif |  3731 #endif | 
|  3731     if (list->isRootedAtTreeScope()) |  3732     if (list->isRootedAtTreeScope()) | 
|  3732         m_listsInvalidatedAtDocument.add(list); |  3733         m_listsInvalidatedAtDocument.add(list); | 
|  3733 } |  3734 } | 
|  3734  |  3735  | 
|  3735 void Document::unregisterNodeList(const LiveNodeListBase* list) |  3736 void Document::unregisterNodeList(const LiveNodeListBase* list) | 
|  3736 { |  3737 { | 
| (...skipping 2197 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5934 #ifndef NDEBUG |  5935 #ifndef NDEBUG | 
|  5935 using namespace blink; |  5936 using namespace blink; | 
|  5936 void showLiveDocumentInstances() |  5937 void showLiveDocumentInstances() | 
|  5937 { |  5938 { | 
|  5938     Document::WeakDocumentSet& set = Document::liveDocumentSet(); |  5939     Document::WeakDocumentSet& set = Document::liveDocumentSet(); | 
|  5939     fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |  5940     fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 
|  5940     for (Document* document : set) |  5941     for (Document* document : set) | 
|  5941         fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
      ing().utf8().data()); |  5942         fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
      ing().utf8().data()); | 
|  5942 } |  5943 } | 
|  5943 #endif |  5944 #endif | 
| OLD | NEW |