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

Unified Diff: Source/core/html/HTMLSourceElement.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/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLSourceElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLSourceElement.h
diff --git a/Source/core/html/HTMLSourceElement.h b/Source/core/html/HTMLSourceElement.h
index 21f9777ff7586ee7861b62418981d41450ad8e95..0002d21070621730e04f0f46c74f8b8a5bf68b54 100644
--- a/Source/core/html/HTMLSourceElement.h
+++ b/Source/core/html/HTMLSourceElement.h
@@ -35,11 +35,11 @@ class HTMLSourceElement FINAL : public HTMLElement {
public:
static PassRefPtr<HTMLSourceElement> create(Document&);
- String media() const;
- String type() const;
+ const AtomicString& media() const;
+ const AtomicString& type() const;
void setSrc(const String&);
- void setMedia(const String&);
- void setType(const String&);
+ void setMedia(const AtomicString&);
+ void setType(const AtomicString&);
void scheduleErrorEvent();
void cancelPendingErrorEvent();
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLSourceElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698