Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2404bed7610b57b2daf1e5b7c58e9e57a11f1076
      
https://github.com/WebKit/WebKit/commit/2404bed7610b57b2daf1e5b7c58e9e57a11f1076
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h
    M 
Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLWC.cpp
    M Source/WebKit/GPUProcess/graphics/wc/RemoteWCLayerTreeHost.cpp
    M Tools/Scripts/generate-gpup-webgl

  Log Message:
  -----------
  [SaferCPP] Mark unchanging RemoteGraphicsContextGL members const
https://bugs.webkit.org/show_bug.cgi?id=297582
rdar://158667175

Reviewed by Simon Fraser.

Mark unchanging RemoteGraphicsContextGL members as const.
Remove redundant protected*() accessors.
Remove unused m_webProcessIdentifier.
Rename members to avoid redundant words
 - streamConnection -> connection
 - graphicsContextGLIdentifier -> identifier

* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:
(WebKit::RemoteGraphicsContextGL::RemoteGraphicsContextGL):
(WebKit::RemoteGraphicsContextGL::~RemoteGraphicsContextGL):
(WebKit::RemoteGraphicsContextGL::initialize):
(WebKit::RemoteGraphicsContextGL::stopListeningForIPC):
(WebKit::RemoteGraphicsContextGL::workQueueInitialize):
(WebKit::RemoteGraphicsContextGL::workQueueUninitialize):
(WebKit::RemoteGraphicsContextGL::surfaceBufferToVideoFrame):
(WebKit::RemoteGraphicsContextGL::simulateEventForTesting):
(WebKit::RemoteGraphicsContextGL::protectedVideoFrameObjectHeap const): Deleted.
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
(WebKit::RemoteGraphicsContextGL::send const):
(WebKit::RemoteGraphicsContextGL::protectedWorkQueue const): Deleted.
* 
Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.cpp:
* Tools/Scripts/generate-gpup-webgl:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to