Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder

This commit is contained in:
Jonas Sicking 2009-11-18 16:22:25 -08:00
parent fb89b95276
commit a683373ce9
2 changed files with 4 additions and 8 deletions

View File

@ -2252,10 +2252,8 @@ nsXMLHttpRequest::Send(nsIVariant *aBody)
do_GetService(NS_CONSOLESERVICE_CONTRACTID);
if (consoleService) {
consoleService->LogStringMessage(NS_LITERAL_STRING(
"Http channel implementation doesn't support nsIUploadChannel2. "
"An extension has supplied a non-functional http protocol handler. "
"This will break behavior and in future releases not work at all.")
.get());
"Http channel implementation doesn't support nsIUploadChannel2. An extension has supplied a non-functional http protocol handler. This will break behavior and in future releases not work at all."
).get());
}
}
}

View File

@ -596,10 +596,8 @@ nsIOService::NewChannelFromURI(nsIURI *aURI, nsIChannel **result)
do_GetService(NS_CONSOLESERVICE_CONTRACTID);
if (consoleService) {
consoleService->LogStringMessage(NS_LITERAL_STRING(
"Http channel implementation doesn't support "
"nsIUploadChannel2. An extension has supplied a "
"non-functional http protocol handler. This will break "
"behavior and in future releases not work at all.").get());
"Http channel implementation doesn't support nsIUploadChannel2. An extension has supplied a non-functional http protocol handler. This will break behavior and in future releases not work at all."
).get());
}
gHasWarnedUploadChannel2 = PR_TRUE;
}