Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan
This commit is contained in:
@@ -1415,7 +1415,7 @@ nsPluginHost::RegisterPlayPreviewMimeType(const nsACString& mimeType,
|
||||
nsAutoCString url(redirectURL);
|
||||
if (url.Length() == 0) {
|
||||
// using default play preview iframe URL, if redirectURL is not specified
|
||||
url.Assign("data:application/x-moz-playpreview;,");
|
||||
url.AssignLiteral("data:application/x-moz-playpreview;,");
|
||||
url.Append(mimeType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user