| 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 4432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4443 PassRefPtr<HTMLCollection> Document::forms() | 4443 PassRefPtr<HTMLCollection> Document::forms() |
| 4444 { | 4444 { |
| 4445 return ensureCachedCollection(DocForms); | 4445 return ensureCachedCollection(DocForms); |
| 4446 } | 4446 } |
| 4447 | 4447 |
| 4448 PassRefPtr<HTMLCollection> Document::anchors() | 4448 PassRefPtr<HTMLCollection> Document::anchors() |
| 4449 { | 4449 { |
| 4450 return ensureCachedCollection(DocAnchors); | 4450 return ensureCachedCollection(DocAnchors); |
| 4451 } | 4451 } |
| 4452 | 4452 |
| 4453 PassRefPtr<HTMLCollection> Document::allForBinding() | 4453 PassRefPtr<HTMLAllCollection> Document::allForBinding() |
| 4454 { | 4454 { |
| 4455 UseCounter::count(*this, UseCounter::DocumentAll); | 4455 UseCounter::count(*this, UseCounter::DocumentAll); |
| 4456 return all(); | 4456 return all(); |
| 4457 } | 4457 } |
| 4458 | 4458 |
| 4459 PassRefPtr<HTMLCollection> Document::all() | 4459 PassRefPtr<HTMLAllCollection> Document::all() |
| 4460 { | 4460 { |
| 4461 return ensureRareData().ensureNodeLists().addCache<HTMLAllCollection>(*this,
DocAll); | 4461 return ensureRareData().ensureNodeLists().addCache<HTMLAllCollection>(*this,
DocAll); |
| 4462 } | 4462 } |
| 4463 | 4463 |
| 4464 PassRefPtr<HTMLCollection> Document::windowNamedItems(const AtomicString& name) | 4464 PassRefPtr<HTMLCollection> Document::windowNamedItems(const AtomicString& name) |
| 4465 { | 4465 { |
| 4466 return ensureRareData().ensureNodeLists().addCache<HTMLNameCollection>(*this
, WindowNamedItems, name); | 4466 return ensureRareData().ensureNodeLists().addCache<HTMLNameCollection>(*this
, WindowNamedItems, name); |
| 4467 } | 4467 } |
| 4468 | 4468 |
| 4469 PassRefPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name
) | 4469 PassRefPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name
) |
| (...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5538 (*it)->invalidateCache(attrName); | 5538 (*it)->invalidateCache(attrName); |
| 5539 } | 5539 } |
| 5540 | 5540 |
| 5541 void Document::trace(Visitor* visitor) | 5541 void Document::trace(Visitor* visitor) |
| 5542 { | 5542 { |
| 5543 Supplementable<Document>::trace(visitor); | 5543 Supplementable<Document>::trace(visitor); |
| 5544 ContainerNode::trace(visitor); | 5544 ContainerNode::trace(visitor); |
| 5545 } | 5545 } |
| 5546 | 5546 |
| 5547 } // namespace WebCore | 5547 } // namespace WebCore |
| OLD | NEW |