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

Side by Side Diff: Source/core/html/HTMLLinkElement.cpp

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLMediaElement.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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 const Vector<IntSize>& HTMLLinkElement::iconSizes() const 443 const Vector<IntSize>& HTMLLinkElement::iconSizes() const
444 { 444 {
445 return m_iconSizes; 445 return m_iconSizes;
446 } 446 }
447 447
448 DOMSettableTokenList* HTMLLinkElement::sizes() const 448 DOMSettableTokenList* HTMLLinkElement::sizes() const
449 { 449 {
450 return m_sizes.get(); 450 return m_sizes.get();
451 } 451 }
452 452
453 void HTMLLinkElement::trace(Visitor* visitor) 453 DEFINE_TRACE(HTMLLinkElement)
454 { 454 {
455 visitor->trace(m_link); 455 visitor->trace(m_link);
456 visitor->trace(m_sizes); 456 visitor->trace(m_sizes);
457 visitor->trace(m_linkLoader); 457 visitor->trace(m_linkLoader);
458 HTMLElement::trace(visitor); 458 HTMLElement::trace(visitor);
459 } 459 }
460 460
461 void HTMLLinkElement::attributeWillChange(const QualifiedName& name, const Atomi cString& oldValue, const AtomicString& newValue) 461 void HTMLLinkElement::attributeWillChange(const QualifiedName& name, const Atomi cString& oldValue, const AtomicString& newValue)
462 { 462 {
463 if (name == hrefAttr && inDocument()) { 463 if (name == hrefAttr && inDocument()) {
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 745
746 void LinkStyle::ownerRemoved() 746 void LinkStyle::ownerRemoved()
747 { 747 {
748 if (m_sheet) 748 if (m_sheet)
749 clearSheet(); 749 clearSheet();
750 750
751 if (styleSheetIsLoading()) 751 if (styleSheetIsLoading())
752 removePendingSheet(); 752 removePendingSheet();
753 } 753 }
754 754
755 void LinkStyle::trace(Visitor* visitor) 755 DEFINE_TRACE(LinkStyle)
756 { 756 {
757 visitor->trace(m_sheet); 757 visitor->trace(m_sheet);
758 LinkResource::trace(visitor); 758 LinkResource::trace(visitor);
759 } 759 }
760 760
761 } // namespace blink 761 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698