Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
This commit is contained in:
@@ -1911,7 +1911,7 @@ nsPrintEngine::OnStateChange(nsIWebProgress* aWebProgress,
|
||||
{
|
||||
nsAutoCString name;
|
||||
aRequest->GetName(name);
|
||||
if (name.Equals("about:document-onload-blocker")) {
|
||||
if (name.EqualsLiteral("about:document-onload-blocker")) {
|
||||
return NS_OK;
|
||||
}
|
||||
if (aStateFlags & STATE_START) {
|
||||
|
||||
Reference in New Issue
Block a user