Commit acdf6230 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! BB 42758: Fix WebRTC build errors.

MB 552: Fix WebRTC on mingw after the 152 rebase.
parent 5f27d879
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -193,8 +193,7 @@ bool WgcCaptureSession::MayContainCursor() const {
  // IsCursorCaptureEnabled was introduced in IGraphicsCaptureSession2.
  // Default to true (cursor captured) if the interface is not available.
  ComPtr<ABI::Windows::Graphics::Capture::IGraphicsCaptureSession2> session2;
  HRESULT hr = session_->QueryInterface(
      ABI::Windows::Graphics::Capture::IID_IGraphicsCaptureSession2, &session2);
  HRESULT hr = session_->QueryInterface(IID_PPV_ARGS(&session2));
  if (FAILED(hr)) {
    return true;
  }