Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a665b382b74ae165e98a80d5173489f9d929daa
      
https://github.com/WebKit/WebKit/commit/4a665b382b74ae165e98a80d5173489f9d929daa
  Author: Tim Nguyen <[email protected]>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M Source/WebCore/dom/DocumentFullscreen.cpp
    M Source/WebCore/page/Page.cpp

  Log Message:
  -----------
  Remove outdated protector pattern in 
`DocumentFullscreen::dispatchPendingEvents()`
https://bugs.webkit.org/show_bug.cgi?id=288976
rdar://146033644

Reviewed by Ryosuke Niwa.

forEachRenderableDocument already keeps Document alive, no need for a protector.

* Source/WebCore/dom/DocumentFullscreen.cpp:
(WebCore::DocumentFullscreen::willEnterFullscreen): Rename variable to match 
Safer C++ guidelines.
(WebCore::DocumentFullscreen::dispatchPendingEvents):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::updateRendering): Use checkedFullscreen() for extra safety.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to