[webkit-changes] [WebKit/WebKit] f987e5: Adopt more smart pointers in HTMLCanvasElement

Rob Buis noreply at github.com
Wed May 22 06:14:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f987e56ae559b455cb008420ff25583cf0081905
      https://github.com/WebKit/WebKit/commit/f987e56ae559b455cb008420ff25583cf0081905
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M Source/WebCore/html/HTMLCanvasElement.cpp

  Log Message:
  -----------
  Adopt more smart pointers in HTMLCanvasElement
https://bugs.webkit.org/show_bug.cgi?id=274463

Reviewed by Ryosuke Niwa.

Adopt more smart pointers in HTMLCanvasElement based on the
[alpha.webkit.UncountedLocalVarsChecker] warning.

* Source/WebCore/html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):
(WebCore::HTMLCanvasElement::createContextWebGL):
(WebCore::HTMLCanvasElement::paint):
(WebCore::HTMLCanvasElement::didMoveToNewDocument):

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