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

Unified Diff: Source/core/html/LinkResource.h

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/HTMLTrackElement.cpp ('k') | Source/core/html/PluginDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkResource.h
diff --git a/Source/core/html/LinkResource.h b/Source/core/html/LinkResource.h
index 5bd8c39766e7738ff13dfc14177677deac272a09..a922639d2168086cc899953eb43beffca50bf0c4 100644
--- a/Source/core/html/LinkResource.h
+++ b/Source/core/html/LinkResource.h
@@ -68,13 +68,13 @@ public:
bool isValid() const { return !m_url.isEmpty() && m_url.isValid(); }
const KURL& url() const { return m_url; }
- const String& charset() const { return m_charset; }
+ const AtomicString& charset() const { return m_charset; }
FetchRequest build(bool blocking) const;
private:
HTMLLinkElement* m_owner;
KURL m_url;
- String m_charset;
+ AtomicString m_charset;
};
} // namespace WebCore
« no previous file with comments | « Source/core/html/HTMLTrackElement.cpp ('k') | Source/core/html/PluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698