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

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

Issue 130403008: Update DOMTokenList::value() to return a const reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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') | no next file » | 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 const AtomicString& HTMLLinkElement::type() const 327 const AtomicString& HTMLLinkElement::type() const
328 { 328 {
329 return getAttribute(typeAttr); 329 return getAttribute(typeAttr);
330 } 330 }
331 331
332 IconType HTMLLinkElement::iconType() const 332 IconType HTMLLinkElement::iconType() const
333 { 333 {
334 return m_relAttribute.iconType(); 334 return m_relAttribute.iconType();
335 } 335 }
336 336
337 String HTMLLinkElement::iconSizes() const 337 const AtomicString& HTMLLinkElement::iconSizes() const
338 { 338 {
339 return m_sizes->toString(); 339 return m_sizes->toString();
340 } 340 }
341 341
342 DOMSettableTokenList* HTMLLinkElement::sizes() const 342 DOMSettableTokenList* HTMLLinkElement::sizes() const
343 { 343 {
344 return m_sizes.get(); 344 return m_sizes.get();
345 } 345 }
346 346
347 PassOwnPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner) 347 PassOwnPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner)
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 void LinkStyle::ownerRemoved() 607 void LinkStyle::ownerRemoved()
608 { 608 {
609 if (m_sheet) 609 if (m_sheet)
610 clearSheet(); 610 clearSheet();
611 611
612 if (styleSheetIsLoading()) 612 if (styleSheetIsLoading())
613 removePendingSheet(RemovePendingSheetNotifyLater); 613 removePendingSheet(RemovePendingSheetNotifyLater);
614 } 614 }
615 615
616 } // namespace WebCore 616 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698