Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: Source/core/dom/Element.cpp

Issue 311803003: [oilpan]: Avoid refcounting QualifiedName's nullQName when tracing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/QualifiedName.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 cache->handleAttributeChanged(name, this); 1030 cache->handleAttributeChanged(name, this);
1031 } 1031 }
1032 1032
1033 bool Element::hasLegalLinkAttribute(const QualifiedName&) const 1033 bool Element::hasLegalLinkAttribute(const QualifiedName&) const
1034 { 1034 {
1035 return false; 1035 return false;
1036 } 1036 }
1037 1037
1038 const QualifiedName& Element::subResourceAttributeName() const 1038 const QualifiedName& Element::subResourceAttributeName() const
1039 { 1039 {
1040 return nullQName(); 1040 return QualifiedName::null();
1041 } 1041 }
1042 1042
1043 inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason) 1043 inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason)
1044 { 1044 {
1045 if (name == isAttr) 1045 if (name == isAttr)
1046 CustomElementRegistrationContext::setTypeExtension(this, newValue); 1046 CustomElementRegistrationContext::setTypeExtension(this, newValue);
1047 attributeChanged(name, newValue, reason); 1047 attributeChanged(name, newValue, reason);
1048 } 1048 }
1049 1049
1050 template <typename CharacterType> 1050 template <typename CharacterType>
(...skipping 2282 matching lines...) Expand 10 before | Expand all | Expand 10 after
3333 3333
3334 void Element::trace(Visitor* visitor) 3334 void Element::trace(Visitor* visitor)
3335 { 3335 {
3336 if (hasRareData()) 3336 if (hasRareData())
3337 visitor->trace(elementRareData()); 3337 visitor->trace(elementRareData());
3338 3338
3339 ContainerNode::trace(visitor); 3339 ContainerNode::trace(visitor);
3340 } 3340 }
3341 3341
3342 } // namespace WebCore 3342 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/QualifiedName.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698