tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 0d028b595d313c6427f66206eb71d9c1f6554b50
parent fcde285853e37a96c4a28ec3f04b805c5d0dd5a1
Author: Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Date:   Fri, 17 Oct 2025 09:36:00 +0000

Bug 1994937 - Change argument of WebRenderAPI::UpdateDebugFlags() to 64 bit r=gfx-reviewers,nical

Bug 1946361 changed DebugFlags from 32 bit to 64 bit. But it forgot to change the argument of WebRenderAPI::UpdateDebugFlags() to 64 bit.

Differential Revision: https://phabricator.services.mozilla.com/D269006

Diffstat:
Mgfx/webrender_bindings/WebRenderAPI.cpp | 2+-
Mgfx/webrender_bindings/WebRenderAPI.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gfx/webrender_bindings/WebRenderAPI.cpp b/gfx/webrender_bindings/WebRenderAPI.cpp @@ -488,7 +488,7 @@ wr::WebRenderAPI* WebRenderAPI::GetRootAPI() { return this; } -void WebRenderAPI::UpdateDebugFlags(uint32_t aFlags) { +void WebRenderAPI::UpdateDebugFlags(uint64_t aFlags) { wr_api_set_debug_flags(mDocHandle, wr::DebugFlags{aFlags}); } diff --git a/gfx/webrender_bindings/WebRenderAPI.h b/gfx/webrender_bindings/WebRenderAPI.h @@ -351,7 +351,7 @@ class WebRenderAPI final { void WaitUntilPresentationFlushed(); - void UpdateDebugFlags(uint32_t aFlags); + void UpdateDebugFlags(uint64_t aFlags); bool CheckIsRemoteTextureReady(layers::RemoteTextureInfoList* aList, const TimeStamp& aTimeStamp); void WaitRemoteTextureReady(layers::RemoteTextureInfoList* aList);