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

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

Issue 99333011: Make sure getAttribute() / setAttribute() callers use AtomicStrings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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/HTMLMediaElement.h » ('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 c8adc39a702df555cb062956643905bb389ffef3..7290ad7543cf69b207e4cbeaa288c2f51cb38d73 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -314,7 +314,7 @@ KURL HTMLLinkElement::href() const
return document().completeURL(getAttribute(hrefAttr));
}
-String HTMLLinkElement::rel() const
+const AtomicString& HTMLLinkElement::rel() const
{
return getAttribute(relAttr);
}
@@ -324,7 +324,7 @@ String HTMLLinkElement::target() const
return getAttribute(targetAttr);
}
-String HTMLLinkElement::type() const
+const AtomicString& HTMLLinkElement::type() const
{
return getAttribute(typeAttr);
}
« 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