Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62c5f85e65e6fae42052004c91841d1492c3bdd6
      
https://github.com/WebKit/WebKit/commit/62c5f85e65e6fae42052004c91841d1492c3bdd6
  Author: Ian Grunert <[email protected]>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M Source/WebCore/bindings/js/GCController.cpp
    M Source/WebCore/workers/WorkerGlobalScope.cpp

  Log Message:
  -----------
  [Win] Remove USE(CF) || USE(GLIB) blocks from GC code paths
https://bugs.webkit.org/show_bug.cgi?id=288893

Reviewed by Yusuke Suzuki.

In the past JSRunLoopTimer and garbage collector timers were implemented
with custom CF / GLib code. As a result there were some
USE(CF) || USE(GLIB) blocks in code for requesting a (maybe delayed) GC.

However in https://bugs.webkit.org/show_bug.cgi?id=214102 / commit
https://commits.webkit.org/r264696 the JSRunLoopTimer switched to use
WTF::RunLoop rather than custom CF code. As it's now using that
cross-platform abstraction, the USE(CF) || USE(GLIB) blocks are no
longer necessary, allowing Windows to use the same code paths.

* Source/WebCore/bindings/js/GCController.cpp:
(WebCore::GCController::garbageCollectSoon):
(WebCore::GCController::garbageCollectNowIfNotDoneRecently):
* Source/WebCore/workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::deleteJSCodeAndGC):

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