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

Unified Diff: Source/core/dom/Document.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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index cc3da6f92a991541715d2217d5a188243759a873..337397fba0dcdc434b3e431ba0f375e26932fa93 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -324,11 +324,11 @@ public:
String defaultCharset() const;
- String inputEncoding() const { return Document::encodingName(); }
- String charset() const { return Document::encodingName(); }
- String characterSet() const { return Document::encodingName(); }
+ AtomicString inputEncoding() const { return Document::encodingName(); }
+ AtomicString charset() const { return Document::encodingName(); }
+ AtomicString characterSet() const { return Document::encodingName(); }
- String encodingName() const;
+ AtomicString encodingName() const;
void setCharset(const String&);
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698