[webkit-changes] [WebKit/WebKit] 305367: WebValidationMessageClient should use WeakPtr to W...

Ryosuke Niwa noreply at github.com
Tue Aug 15 21:22:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 305367d61f5be4bb48833b09bfbbeffe1b10d521
      https://github.com/WebKit/WebKit/commit/305367d61f5be4bb48833b09bfbbeffe1b10d521
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebCoreSupport/WebValidationMessageClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebValidationMessageClient.h

  Log Message:
  -----------
  WebValidationMessageClient should use WeakPtr to WebPage, not a raw reference
https://bugs.webkit.org/show_bug.cgi?id=260230

Reviewed by Wenson Hsieh.

Deploy WeakPtr in WebValidationMessageClient.

* Source/WebKit/WebProcess/WebCoreSupport/WebValidationMessageClient.cpp:
(WebKit::WebValidationMessageClient::showValidationMessage):
(WebKit::WebValidationMessageClient::hideValidationMessage):
(WebKit::WebValidationMessageClient::hideAnyValidationMessage):
* Source/WebKit/WebProcess/WebCoreSupport/WebValidationMessageClient.h:

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




More information about the webkit-changes mailing list