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

Unified Diff: Source/core/html/HTMLLinkElement.cpp

Issue 27509002: Get rid of custom code for HTMLLinkElement.sizes attribute setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLLinkElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index 218194c85f41199c65528359dc233bfce83e139e..3fa28a1e05fa50740ca44861f6483aa9ded7be4b 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -96,7 +96,7 @@ void HTMLLinkElement::parseAttribute(const QualifiedName& name, const AtomicStri
m_type = value;
process();
} else if (name == sizesAttr) {
- setSizes(value);
+ m_sizes->setValue(value);
process();
} else if (name == mediaAttr) {
m_media = value.string().lower();
@@ -365,12 +365,6 @@ DOMSettableTokenList* HTMLLinkElement::sizes() const
return m_sizes.get();
}
-void HTMLLinkElement::setSizes(const String& value)
-{
- m_sizes->setValue(value);
-}
-
-
PassRefPtr<LinkStyle> LinkStyle::create(HTMLLinkElement* owner)
{
return adoptRef(new LinkStyle(owner));
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/HTMLLinkElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698