|
@@ -0,0 +1,28 @@
|
|
|
+# HG changeset patch
|
|
|
+# User Jorg K <jorgk@jorgk.com>
|
|
|
+# Date 1516959845 -3600
|
|
|
+# Node ID ed0e5a9bf28a0d75b1c0618833bd9e319b6136f8
|
|
|
+# Parent 1cf1a10ead69a48b7a1407f908503aabbf52bfa0
|
|
|
+Bug 1433388 - Port 1425458 to mailnews: Add aPerformanceStorage argument to NS_NewChannel() call. rs=bustage-fix
|
|
|
+
|
|
|
+diff --git a/mailnews/compose/src/nsURLFetcher.cpp b/mailnews/compose/src/nsURLFetcher.cpp
|
|
|
+--- a/mailnews/compose/src/nsURLFetcher.cpp
|
|
|
++++ b/mailnews/compose/src/nsURLFetcher.cpp
|
|
|
+@@ -317,16 +317,17 @@ nsURLFetcher::FireURLRequest(nsIURI *aUR
|
|
|
+ NS_ENSURE_TRUE(pURILoader, NS_ERROR_FAILURE);
|
|
|
+
|
|
|
+ nsCOMPtr<nsIChannel> channel;
|
|
|
+ rv = NS_NewChannel(getter_AddRefs(channel),
|
|
|
+ aURL,
|
|
|
+ nsContentUtils::GetSystemPrincipal(),
|
|
|
+ nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
|
|
|
+ nsIContentPolicy::TYPE_OTHER,
|
|
|
++ nullptr, // aPerformanceStorage
|
|
|
+ nullptr, // aLoadGroup
|
|
|
+ this); // aCallbacks
|
|
|
+ NS_ENSURE_SUCCESS(rv, rv);
|
|
|
+
|
|
|
+ return pURILoader->OpenURI(channel, false, this);
|
|
|
+ }
|
|
|
+
|
|
|
+ nsresult
|