Bug 1232432 - Convert feeds/feedConverter to use asyncOpen2(). r=gijs
authorChristoph Kerschbaumer <ckerschb@christophkerschbaumer.com>
Wed, 04 Jan 2017 08:57:09 +0100
changeset 327876 7066ba5a48e454c6c41eb0210eb9dee1323322a4
parent 327875 9307d60e21ba70f46fb47c9eb43b6b5246b7e64c
child 327877 a5bac3694b6f3fe04f00dbcd40145e0360294d16
push id85313
push usermozilla@christophkerschbaumer.com
push dateWed, 04 Jan 2017 10:12:22 +0000
treeherdermozilla-inbound@d31df518cb6e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1232432
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1232432 - Convert feeds/feedConverter to use asyncOpen2(). r=gijs
browser/components/feeds/FeedConverter.js
--- a/browser/components/feeds/FeedConverter.js
+++ b/browser/components/feeds/FeedConverter.js
@@ -259,17 +259,17 @@ FeedConverter.prototype = {
         chromeChannel.owner =
           Services.scriptSecurityManager.createCodebasePrincipal(aboutFeedsURI,
                                                                  loadInfo.originAttributes);
       } else {
         chromeChannel = ios.newChannelFromURIWithLoadInfo(result.uri, loadInfo);
       }
 
       chromeChannel.loadGroup = this._request.loadGroup;
-      chromeChannel.asyncOpen(this._listener, null);
+      chromeChannel.asyncOpen2(this._listener);
     } finally {
       this._releaseHandles();
     }
   },
 
   /**
    * See nsIStreamListener.idl
    */