[webkit-changes] [WebKit/WebKit] 4b5fd9: Inlining trivial method to suppress static analyze...

Basuke Suzuki noreply at github.com
Tue Oct 22 09:58:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b5fd9d5f7c7ab98481c47360abac045a88d0490
      https://github.com/WebKit/WebKit/commit/4b5fd9d5f7c7ab98481c47360abac045a88d0490
  Author: Basuke Suzuki <basuke at apple.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M Source/WebKit/UIProcess/PageLoadState.cpp
    M Source/WebKit/UIProcess/PageLoadState.h

  Log Message:
  -----------
  Inlining trivial method to suppress static analyzer warnings in PageLoadState
https://bugs.webkit.org/show_bug.cgi?id=280340
rdar://problem/137133185

Reviewed by Ben Nham.

Because PageLoadState is now ref/deref object, it should be clear that the method is trivial or not.

* Source/WebKit/UIProcess/PageLoadState.cpp:
(WebKit::PageLoadState::isLoading const): Deleted.
(WebKit::PageLoadState::hasUncommittedLoad const): Deleted.
(WebKit::PageLoadState::activeURL const): Deleted.
(WebKit::PageLoadState::wasPrivateRelayed const): Deleted.
* Source/WebKit/UIProcess/PageLoadState.h:
(WebKit::PageLoadState::isLoading const):
(WebKit::PageLoadState::hasUncommittedLoad const):
(WebKit::PageLoadState::activeURL const):
(WebKit::PageLoadState::wasPrivateRelayed const):

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