Pier Angelo Vendrame pushed to branch tor-browser-152.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
    ... ... @@ -193,8 +193,7 @@ bool WgcCaptureSession::MayContainCursor() const {
    193 193
       // IsCursorCaptureEnabled was introduced in IGraphicsCaptureSession2.
    
    194 194
       // Default to true (cursor captured) if the interface is not available.
    
    195 195
       ComPtr<ABI::Windows::Graphics::Capture::IGraphicsCaptureSession2> session2;
    
    196
    -  HRESULT hr = session_->QueryInterface(
    
    197
    -      ABI::Windows::Graphics::Capture::IID_IGraphicsCaptureSession2, &session2);
    
    196
    +  HRESULT hr = session_->QueryInterface(IID_PPV_ARGS(&session2));
    
    198 197
       if (FAILED(hr)) {
    
    199 198
         return true;
    
    200 199
       }