| 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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 2240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2251 if (!attrName || it->second->shouldInvalidateOnAttributeChange()) | 2251 if (!attrName || it->second->shouldInvalidateOnAttributeChange()) |
| 2252 it->second->invalidateCache(); | 2252 it->second->invalidateCache(); |
| 2253 } | 2253 } |
| 2254 | 2254 |
| 2255 NodeListNameCacheMap::const_iterator nameCacheEnd = m_nameCaches.end(); | 2255 NodeListNameCacheMap::const_iterator nameCacheEnd = m_nameCaches.end(); |
| 2256 for (NodeListNameCacheMap::const_iterator it = m_nameCaches.begin(); it != n
ameCacheEnd; ++it) { | 2256 for (NodeListNameCacheMap::const_iterator it = m_nameCaches.begin(); it != n
ameCacheEnd; ++it) { |
| 2257 if (!attrName || it->second->shouldInvalidateOnAttributeChange()) | 2257 if (!attrName || it->second->shouldInvalidateOnAttributeChange()) |
| 2258 it->second->invalidateCache(); | 2258 it->second->invalidateCache(); |
| 2259 } | 2259 } |
| 2260 | 2260 |
| 2261 if (!attrName) | 2261 if (attrName) |
| 2262 return; | 2262 return; |
| 2263 | 2263 |
| 2264 TagNodeListCacheNS::iterator tagCacheEnd = m_tagNodeListCacheNS.end(); | 2264 TagNodeListCacheNS::iterator tagCacheEnd = m_tagNodeListCacheNS.end(); |
| 2265 for (TagNodeListCacheNS::iterator it = m_tagNodeListCacheNS.begin(); it != t
agCacheEnd; ++it) | 2265 for (TagNodeListCacheNS::iterator it = m_tagNodeListCacheNS.begin(); it != t
agCacheEnd; ++it) |
| 2266 it->second->invalidateCache(); | 2266 it->second->invalidateCache(); |
| 2267 } | 2267 } |
| 2268 | 2268 |
| 2269 void Node::getSubresourceURLs(ListHashSet<KURL>& urls) const | 2269 void Node::getSubresourceURLs(ListHashSet<KURL>& urls) const |
| 2270 { | 2270 { |
| 2271 addSubresourceAttributeURLs(urls); | 2271 addSubresourceAttributeURLs(urls); |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2801 node->showTreeForThis(); | 2801 node->showTreeForThis(); |
| 2802 } | 2802 } |
| 2803 | 2803 |
| 2804 void showNodePath(const WebCore::Node* node) | 2804 void showNodePath(const WebCore::Node* node) |
| 2805 { | 2805 { |
| 2806 if (node) | 2806 if (node) |
| 2807 node->showNodePathForThis(); | 2807 node->showNodePathForThis(); |
| 2808 } | 2808 } |
| 2809 | 2809 |
| 2810 #endif | 2810 #endif |
| OLD | NEW |