mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Consistently rename storage to webstorage to prevent confusion (#39550)
Add the prefix of "WebStorage" instead of "Storage" for all webstorage spec related things. For example, a `struct` called `StorageManager`: this could refer to either webstorage's thread manager or to the backend for [the storage manager interface](https://storage.spec.whatwg.org/#storagemanager). webstorage is the full name of the spec, so I chose to keep that in the names of files/structs to prevent confusion when storage manager is implemented. Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
5b1fe60277
commit
fef56fcc47
11 changed files with 62 additions and 52 deletions
|
@ -167,7 +167,7 @@ use servo_config::{opts, pref};
|
|||
use servo_rand::{Rng, ServoRng, SliceRandom, random};
|
||||
use servo_url::{Host, ImmutableOrigin, ServoUrl};
|
||||
use storage_traits::StorageThreads;
|
||||
use storage_traits::storage_thread::{StorageThreadMsg, StorageType};
|
||||
use storage_traits::webstorage_thread::{StorageType, WebStorageThreadMsg};
|
||||
use style::global_style_data::StyleThreadPool;
|
||||
#[cfg(feature = "webgpu")]
|
||||
use webgpu::canvas_context::WGPUImageMap;
|
||||
|
@ -2703,7 +2703,7 @@ where
|
|||
debug!("Exiting storage resource threads.");
|
||||
if let Err(e) = generic_channel::GenericSend::send(
|
||||
&self.public_storage_threads,
|
||||
StorageThreadMsg::Exit(storage_ipc_sender),
|
||||
WebStorageThreadMsg::Exit(storage_ipc_sender),
|
||||
) {
|
||||
warn!("Exit storage thread failed ({})", e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue