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 84073 517e687ce17e
parent 84072 2676737a824c
child 84074 212eea4c8b3b
push id4720
push userpweitershausen@mozilla.com
push dateTue, 10 Jan 2012 01:00:23 +0000
treeherdermozilla-inbound@517e687ce17e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs674726
milestone12.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 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;
 }