Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this change, but those are bad style anyway, so I removed them from TestCOMPtr.cpp instead of trying to make them work.
This commit is contained in:
@@ -1907,7 +1907,7 @@ public:
|
||||
MediaStreamTrackSource)
|
||||
|
||||
explicit CaptureStreamTrackSource(HTMLMediaElement* aElement)
|
||||
: MediaStreamTrackSource(nsCOMPtr<nsIPrincipal>(aElement->GetCurrentPrincipal()),
|
||||
: MediaStreamTrackSource(nsCOMPtr<nsIPrincipal>(aElement->GetCurrentPrincipal()).get(),
|
||||
true,
|
||||
nsString())
|
||||
, mElement(aElement)
|
||||
|
||||
Reference in New Issue
Block a user