Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 8402ac95f43129d136bc87f19f493f4cb18fb99d..3c37b0fc75e0a117eefe524a17c468341c3d36b7 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -3855,9 +3855,9 @@ void HTMLMediaElement::applyMediaFragmentURI() |
MediaPlayerClient::CORSMode HTMLMediaElement::mediaPlayerCORSMode() const |
{ |
- if (!fastHasAttribute(HTMLNames::crossoriginAttr)) |
+ if (!fastHasAttribute(crossoriginAttr)) |
return Unspecified; |
- if (equalIgnoringCase(fastGetAttribute(HTMLNames::crossoriginAttr), "use-credentials")) |
+ if (equalIgnoringCase(fastGetAttribute(crossoriginAttr), "use-credentials")) |
return UseCredentials; |
return Anonymous; |
} |