Backed out changeset 7c3ddf34fc42 (bug 1377158) for stylo failures

This commit is contained in:
Carsten "Tomcat" Book committed 2017-07-25 14:34:14 +02:00
1 parent 19fca5854d
commit 7e8280a552
7 files changed
+19 -67

No files matched your search

+7 -9
View File
@@ -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);