Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj

Differential Revision: https://phabricator.services.mozilla.com/D80861
This commit is contained in:
Simon Giesecke
2020-07-01 08:34:12 +00:00
parent a69d79b6db
commit f6c10f5ca9
88 changed files with 541 additions and 473 deletions

View File

@@ -347,7 +347,7 @@ UploadLastDir::ContentPrefCallback::HandleCompletion(uint16_t aReason) {
// If no custom directory was set through the pref, default to
// "desktop" directory for each platform.
mFilePicker->SetDisplaySpecialDirectory(
NS_LITERAL_STRING(NS_OS_DESKTOP_DIR));
NS_LITERAL_STRING_FROM_CSTRING(NS_OS_DESKTOP_DIR));
}
mFilePicker->Open(mFpCallback);