mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*
This commit is contained in:
@@ -8000,7 +8000,7 @@ nsDocShell::CreateAboutBlankContentViewer(nsIPrincipal* aPrincipal,
|
||||
mFiredUnloadEvent = false;
|
||||
|
||||
nsCOMPtr<nsIDocumentLoaderFactory> docFactory =
|
||||
nsContentUtils::FindInternalContentViewer("text/html");
|
||||
nsContentUtils::FindInternalContentViewer(NS_LITERAL_CSTRING("text/html"));
|
||||
|
||||
if (docFactory) {
|
||||
nsCOMPtr<nsIPrincipal> principal;
|
||||
@@ -8962,7 +8962,7 @@ nsDocShell::RestoreFromHistory()
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsDocShell::CreateContentViewer(const char* aContentType,
|
||||
nsDocShell::CreateContentViewer(const nsACString& aContentType,
|
||||
nsIRequest* aRequest,
|
||||
nsIStreamListener** aContentHandler)
|
||||
{
|
||||
@@ -9158,7 +9158,7 @@ nsDocShell::CreateContentViewer(const char* aContentType,
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsDocShell::NewContentViewerObj(const char* aContentType,
|
||||
nsDocShell::NewContentViewerObj(const nsACString& aContentType,
|
||||
nsIRequest* aRequest, nsILoadGroup* aLoadGroup,
|
||||
nsIStreamListener** aContentHandler,
|
||||
nsIContentViewer** aViewer)
|
||||
|
||||
Reference in New Issue
Block a user