[webkit-changes] [WebKit/WebKit] 5aeaac: Fix a smart pointer static analysis warning in Sha...

Ryosuke Niwa noreply at github.com
Mon Sep 9 09:11:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5aeaacb24b8755a24400a7af91a1ab703550a870
      https://github.com/WebKit/WebKit/commit/5aeaacb24b8755a24400a7af91a1ab703550a870
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/ShapeDetection/RemoteBarcodeDetector.cpp
    M Source/WebKit/GPUProcess/ShapeDetection/RemoteBarcodeDetector.h

  Log Message:
  -----------
  Fix a smart pointer static analysis warning in ShapeDetection/RemoteBarcodeDetector.cpp
https://bugs.webkit.org/show_bug.cgi?id=279340

Reviewed by Chris Dumez.

Use protectedBackend() to fix the warning.

* Source/WebKit/GPUProcess/ShapeDetection/RemoteBarcodeDetector.cpp:
(WebKit::RemoteBarcodeDetector::sharedPreferencesForWebProcess const):
(WebKit::RemoteBarcodeDetector::protectedBacking const):
(WebKit::RemoteBarcodeDetector::protectedBackend const):
* Source/WebKit/GPUProcess/ShapeDetection/RemoteBarcodeDetector.h:
(WebKit::RemoteBarcodeDetector::backing const):

Canonical link: https://commits.webkit.org/283346@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