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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 months 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index e200c3874e32a3d1206fbff9d60d5c385760297f..fd0253d4b2ba2749411fa315a8644f330c73c0ee 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -2229,7 +2229,7 @@ void HTMLMediaElement::setPreload(const AtomicString& preload) {
WebMediaPlayer::Preload HTMLMediaElement::PreloadType() const {
const AtomicString& preload = FastGetAttribute(preloadAttr);
- if (EqualIgnoringCase(preload, "none")) {
+ if (DeprecatedEqualIgnoringCase(preload, "none")) {
UseCounter::Count(GetDocument(), UseCounter::kHTMLMediaElementPreloadNone);
return WebMediaPlayer::kPreloadNone;
}
@@ -2246,7 +2246,7 @@ WebMediaPlayer::Preload HTMLMediaElement::PreloadType() const {
return WebMediaPlayer::kPreloadNone;
}
- if (EqualIgnoringCase(preload, "metadata")) {
+ if (DeprecatedEqualIgnoringCase(preload, "metadata")) {
UseCounter::Count(GetDocument(),
UseCounter::kHTMLMediaElementPreloadMetadata);
return WebMediaPlayer::kPreloadMetaData;
@@ -2259,7 +2259,7 @@ WebMediaPlayer::Preload HTMLMediaElement::PreloadType() const {
return WebMediaPlayer::kPreloadMetaData;
}
- if (EqualIgnoringCase(preload, "auto")) {
+ if (DeprecatedEqualIgnoringCase(preload, "auto")) {
UseCounter::Count(GetDocument(), UseCounter::kHTMLMediaElementPreloadAuto);
return WebMediaPlayer::kPreloadAuto;
}
@@ -3864,7 +3864,7 @@ WebMediaPlayer::CORSMode HTMLMediaElement::CorsMode() const {
const AtomicString& cross_origin_mode = FastGetAttribute(crossoriginAttr);
if (cross_origin_mode.IsNull())
return WebMediaPlayer::kCORSModeUnspecified;
- if (EqualIgnoringCase(cross_origin_mode, "use-credentials"))
+ if (DeprecatedEqualIgnoringCase(cross_origin_mode, "use-credentials"))
return WebMediaPlayer::kCORSModeUseCredentials;
return WebMediaPlayer::kCORSModeAnonymous;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698