| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 const Vector<IntSize>& HTMLLinkElement::iconSizes() const | 412 const Vector<IntSize>& HTMLLinkElement::iconSizes() const |
| 413 { | 413 { |
| 414 return m_iconSizes; | 414 return m_iconSizes; |
| 415 } | 415 } |
| 416 | 416 |
| 417 DOMSettableTokenList* HTMLLinkElement::sizes() const | 417 DOMSettableTokenList* HTMLLinkElement::sizes() const |
| 418 { | 418 { |
| 419 return m_sizes.get(); | 419 return m_sizes.get(); |
| 420 } | 420 } |
| 421 | 421 |
| 422 void HTMLLinkElement::trace(Visitor* visitor) |
| 423 { |
| 424 visitor->trace(m_sizes); |
| 425 HTMLElement::trace(visitor); |
| 426 } |
| 427 |
| 422 PassOwnPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner) | 428 PassOwnPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner) |
| 423 { | 429 { |
| 424 return adoptPtr(new LinkStyle(owner)); | 430 return adoptPtr(new LinkStyle(owner)); |
| 425 } | 431 } |
| 426 | 432 |
| 427 LinkStyle::LinkStyle(HTMLLinkElement* owner) | 433 LinkStyle::LinkStyle(HTMLLinkElement* owner) |
| 428 : LinkResource(owner) | 434 : LinkResource(owner) |
| 429 , m_disabledState(Unset) | 435 , m_disabledState(Unset) |
| 430 , m_pendingSheetType(None) | 436 , m_pendingSheetType(None) |
| 431 , m_loading(false) | 437 , m_loading(false) |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 void LinkStyle::ownerRemoved() | 692 void LinkStyle::ownerRemoved() |
| 687 { | 693 { |
| 688 if (m_sheet) | 694 if (m_sheet) |
| 689 clearSheet(); | 695 clearSheet(); |
| 690 | 696 |
| 691 if (styleSheetIsLoading()) | 697 if (styleSheetIsLoading()) |
| 692 removePendingSheet(RemovePendingSheetNotifyLater); | 698 removePendingSheet(RemovePendingSheetNotifyLater); |
| 693 } | 699 } |
| 694 | 700 |
| 695 } // namespace WebCore | 701 } // namespace WebCore |
| OLD | NEW |