mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
Backed out changeset 7c3ddf34fc42 (bug 1377158) for stylo failures
This commit is contained in:
1 parent
19fca5854d
commit
7e8280a552
7 files changed
+19
-67
No files matched your search
@@ -9367,15 +9367,13 @@ nsDocShell::NewContentViewerObj(const nsACString& aContentType,
|
||||
|
||||
// Now create an instance of the content viewer nsLayoutDLF makes the
|
||||
// determination if it should be a "view-source" instead of "view"
|
||||
nsresult rv =
|
||||
docLoaderFactory->CreateInstance("view",
|
||||
aOpenedChannel,
|
||||
aLoadGroup, aContentType,
|
||||
this,
|
||||
nullptr,
|
||||
nsIDocumentLoaderFactory::STYLE_BACKEND_TYPE_NONE,
|
||||
aContentHandler,
|
||||
aViewer);
|
||||
nsresult rv = docLoaderFactory->CreateInstance("view",
|
||||
aOpenedChannel,
|
||||
aLoadGroup, aContentType,
|
||||
this,
|
||||
nullptr,
|
||||
aContentHandler,
|
||||
aViewer);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
(*aViewer)->SetContainer(this);
|
||||
|
||||
Reference in new issue
Block a user