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) 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 parseSizes(value.characters16(), value.length(), iconSizes); | 133 parseSizes(value.characters16(), value.length(), iconSizes); |
134 } | 134 } |
135 | 135 |
136 inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser
) | 136 inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser
) |
137 : HTMLElement(linkTag, document) | 137 : HTMLElement(linkTag, document) |
138 , m_linkLoader(this) | 138 , m_linkLoader(this) |
139 , m_sizes(DOMSettableTokenList::create()) | 139 , m_sizes(DOMSettableTokenList::create()) |
140 , m_createdByParser(createdByParser) | 140 , m_createdByParser(createdByParser) |
141 , m_isInShadowTree(false) | 141 , m_isInShadowTree(false) |
142 { | 142 { |
143 ScriptWrappable::init(this); | |
144 } | 143 } |
145 | 144 |
146 PassRefPtrWillBeRawPtr<HTMLLinkElement> HTMLLinkElement::create(Document& docume
nt, bool createdByParser) | 145 PassRefPtrWillBeRawPtr<HTMLLinkElement> HTMLLinkElement::create(Document& docume
nt, bool createdByParser) |
147 { | 146 { |
148 return adoptRefWillBeNoop(new HTMLLinkElement(document, createdByParser)); | 147 return adoptRefWillBeNoop(new HTMLLinkElement(document, createdByParser)); |
149 } | 148 } |
150 | 149 |
151 HTMLLinkElement::~HTMLLinkElement() | 150 HTMLLinkElement::~HTMLLinkElement() |
152 { | 151 { |
153 #if !ENABLE(OILPAN) | 152 #if !ENABLE(OILPAN) |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 removePendingSheet(); | 738 removePendingSheet(); |
740 } | 739 } |
741 | 740 |
742 void LinkStyle::trace(Visitor* visitor) | 741 void LinkStyle::trace(Visitor* visitor) |
743 { | 742 { |
744 visitor->trace(m_sheet); | 743 visitor->trace(m_sheet); |
745 LinkResource::trace(visitor); | 744 LinkResource::trace(visitor); |
746 } | 745 } |
747 | 746 |
748 } // namespace blink | 747 } // namespace blink |
OLD | NEW |