Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D80631
This commit is contained in:
Simon Giesecke
2020-07-01 08:42:31 +00:00
parent f6c10f5ca9
commit d2e71d5859
145 changed files with 537 additions and 576 deletions

View File

@@ -1802,7 +1802,7 @@ class HTMLMediaElement::ChannelLoader final {
nsCOMPtr<nsIHttpChannel> http = do_QueryInterface(aChannel);
NS_ENSURE_STATE(http);
NS_NAMED_LITERAL_CSTRING(rangeHdr, "Range");
constexpr auto rangeHdr = "Range"_ns;
nsAutoCString rangeVal;
if (NS_SUCCEEDED(http->GetRequestHeader(rangeHdr, rangeVal))) {