[webkit-changes] [WebKit/WebKit] 7014a0: [GTK][WPE] Fix compilation with ENABLE_WEBGL=OFF

alexgcastro noreply at github.com
Wed Jan 18 22:22:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7014a00d589b4bb4385e9e7489293d523ed608dd
      https://github.com/WebKit/WebKit/commit/7014a00d589b4bb4385e9e7489293d523ed608dd
  Author: Alejandro G. Castro <alex at igalia.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp

  Log Message:
  -----------
  [GTK][WPE] Fix compilation with  ENABLE_WEBGL=OFF
https://bugs.webkit.org/show_bug.cgi?id=250783

Reviewed by Adrian Perez de Castro.

Add guards to a couple of code sections that depend on WebGL
functions.

* Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.cpp:
(WebCore::CanvasCaptureMediaStreamTrack::Source::canvasChanged):
* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:

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




More information about the webkit-changes mailing list