Bug 674726 follow-up: make WebTelephony build with gcc. r=bent DONTBUILD because NPOTB
authorPhilipp von Weitershausen <philipp@weitershausen.de>
Mon, 09 Jan 2012 17:00:02 -0800
changeset 85298 517e687ce17e16cd6b09dec3bec576c889efac9f
parent 85297 2676737a824ce68d5a802a3240c10c6087b0f631
child 85299 212eea4c8b3b624c8234e5ccb32d5e803012fdfe
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs674726
milestone12.0a1
Bug 674726 follow-up: make WebTelephony build with gcc. r=bent DONTBUILD because NPOTB
dom/telephony/CallEvent.cpp
--- a/dom/telephony/CallEvent.cpp
+++ b/dom/telephony/CallEvent.cpp
@@ -80,12 +80,12 @@ NS_INTERFACE_MAP_END_INHERITING(nsDOMEve
 NS_IMPL_ADDREF_INHERITED(CallEvent, nsDOMEvent)
 NS_IMPL_RELEASE_INHERITED(CallEvent, nsDOMEvent)
 
 DOMCI_DATA(CallEvent, CallEvent)
 
 NS_IMETHODIMP
 CallEvent::GetCall(nsIDOMTelephonyCall** aCall)
 {
-  nsCOMPtr<nsIDOMTelephonyCall> call = mCall;
+  nsCOMPtr<nsIDOMTelephonyCall> call = mCall.get();
   call.forget(aCall);
   return NS_OK;
 }