Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fad53af65c27b015c883bfac9222a15c25f4bdd9
      
https://github.com/WebKit/WebKit/commit/fad53af65c27b015c883bfac9222a15c25f4bdd9
  Author: Sihui Liu <[email protected]>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M Source/WebKit/NetworkProcess/storage/SQLiteStorageArea.cpp

  Log Message:
  -----------
  Make threading assertions in SQLiteStorageArea more specific
https://bugs.webkit.org/show_bug.cgi?id=301249
rdar://163166852

Reviewed by Per Arne Vollan.

Ensure SQLiteStorageArea functions are not only invoked on background thread, 
but on specified work queue. Also,
SQLiteDatabase::releaseMemory() checks if database is open, so we could remove 
the redundant check in
SQLiteStorageArea::handleLowMemoryWarning().

* Source/WebKit/NetworkProcess/storage/SQLiteStorageArea.cpp:
(WebKit::SQLiteStorageArea::SQLiteStorageArea):
(WebKit::SQLiteStorageArea::close):
(WebKit::SQLiteStorageArea::~SQLiteStorageArea):
(WebKit::SQLiteStorageArea::isEmpty):
(WebKit::SQLiteStorageArea::clear):
(WebKit::SQLiteStorageArea::allItems):
(WebKit::SQLiteStorageArea::setItem):
(WebKit::SQLiteStorageArea::removeItem):
(WebKit::SQLiteStorageArea::handleLowMemoryWarning):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to