Bug 1221067 - error: no matching function for call to 'NS_NewStreamLoader'. r=mkmelin, a=bustage fix on CLOSED TREE
authorPhilip Chee <philip.chee@gmail.com>
Tue, 03 Nov 2015 07:48:00 +0100
changeset 18537 f3388da5d1a5da2e6972d0c76b31e668b0bd64ae
parent 18536 2ef88c6fc965556e7c1a19e97b53222b47a0dc78
child 18538 f29ebb12e30c276087cd5f8405ae817c15849f8f
push id11350
push useraleth@instantbird.org
push dateTue, 03 Nov 2015 19:28:40 +0000
treeherdercomm-central@f3388da5d1a5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, bustage
bugs1221067
Bug 1221067 - error: no matching function for call to 'NS_NewStreamLoader'. r=mkmelin, a=bustage fix on CLOSED TREE
mailnews/addrbook/src/nsAbContentHandler.cpp
--- a/mailnews/addrbook/src/nsAbContentHandler.cpp
+++ b/mailnews/addrbook/src/nsAbContentHandler.cpp
@@ -120,18 +120,17 @@ nsAbContentHandler::HandleContent(const 
 
     // create a stream loader to handle the v-card data
     nsCOMPtr<nsIStreamLoader> streamLoader;
     rv = NS_NewStreamLoader(getter_AddRefs(streamLoader),
                             uri,
                             this,
                             nullPrincipal,
                             nsILoadInfo::SEC_NORMAL,
-                            nsIContentPolicy::TYPE_OTHER,
-                            aWindowContext);
+                            nsIContentPolicy::TYPE_OTHER);
     NS_ENSURE_SUCCESS(rv, rv);
 
   }
   else // The content-type was not application/x-addvcard...
     return NS_ERROR_WONT_HANDLE_CONTENT;
 
   return rv;
 }