[webkit-changes] [WebKit/WebKit] bef6d6: [WebXR] PlatformXR::FrameData::ExternalTexture con...

Dan Glastonbury noreply at github.com
Mon Jun 3 21:58:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bef6d60712de26cc0639d31c3ffa5f44c4fe971d
      https://github.com/WebKit/WebKit/commit/bef6d60712de26cc0639d31c3ffa5f44c4fe971d
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M Source/WebCore/platform/xr/PlatformXR.h

  Log Message:
  -----------
  [WebXR] PlatformXR::FrameData::ExternalTexture constructor
https://bugs.webkit.org/show_bug.cgi?id=275091
rdar://129199953

Reviewed by Mike Wyrzykowski.

After 279523 at main, ExternalTexture was being used without explicit
initialization. This lead to a non-zero-on-one value being passed via IPC that
caused the message decode to fail, taking down WebContent process.

To fix this, add explicit initialization of isSharedTexture to ExternalTexture
so that default construction of these objects are always valid.

* Source/WebCore/platform/xr/PlatformXR.h:

Canonical link: https://commits.webkit.org/279686@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list