[webkit-changes] [WebKit/WebKit] 2b3f00: Add more smart pointers to lazy load observers

Rob Buis noreply at github.com
Fri May 3 23:15:14 PDT 2024


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

  Changed paths:
    M Source/WebCore/html/LazyLoadFrameObserver.cpp
    M Source/WebCore/html/LazyLoadFrameObserver.h
    M Source/WebCore/html/LazyLoadImageObserver.cpp

  Log Message:
  -----------
  Add more smart pointers to lazy load observers
https://bugs.webkit.org/show_bug.cgi?id=273321

Reviewed by Chris Dumez.

Add more smart pointers to lazy load observers, by both replacing raw member
variables and fixing [alpha.webkit.UncountedCallArgsChecker] warnings.

* Source/WebCore/html/LazyLoadFrameObserver.cpp:
(WebCore::LazyLoadFrameObserver::observe):
(WebCore::LazyLoadFrameObserver::unobserve):
* Source/WebCore/html/LazyLoadFrameObserver.h:
* Source/WebCore/html/LazyLoadImageObserver.cpp:
(WebCore::LazyLoadImageObserver::observe):

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