Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 6b54df455a199748dc720ee974354912f994809f..c8bf82363d74de966d8300cef1c514ef1aeb97b0 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -109,7 +109,7 @@ public: |
NetworkState networkState() const; |
String preload() const; |
- void setPreload(const String&); |
+ void setPreload(const AtomicString&); |
PassRefPtr<TimeRanges> buffered() const; |
void load(); |
@@ -177,9 +177,9 @@ public: |
double percentLoaded() const; |
- PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, const String& language, ExceptionState&); |
- PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, emptyString(), exceptionState); } |
- PassRefPtr<TextTrack> addTextTrack(const String& kind, ExceptionState& exceptionState) { return addTextTrack(kind, emptyString(), emptyString(), exceptionState); } |
+ PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicString& label, const AtomicString& language, ExceptionState&); |
+ PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicString& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, emptyAtom, exceptionState); } |
+ PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState& exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionState); } |
TextTrackList* textTracks(); |
CueList currentlyActiveCues() const { return m_currentlyActiveCues; } |