mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
base: Finish rename of TopLevelBrowsingContextId
to WebViewId
(#35896)
The `WebViewId` name is a lot more descriptive these days to the casual reader, so I think we can go ahead and finish the rename. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
81fe4bbb1e
commit
2464d0937f
22 changed files with 416 additions and 570 deletions
|
@ -11,7 +11,7 @@ use std::sync::Arc;
|
|||
use std::thread;
|
||||
|
||||
use backtrace::Backtrace;
|
||||
use base::id::TopLevelBrowsingContextId;
|
||||
use base::id::WebViewId;
|
||||
use compositing_traits::ConstellationMsg as FromCompositorMsg;
|
||||
use crossbeam_channel::Sender;
|
||||
use log::{Level, LevelFilter, Log, Metadata, Record};
|
||||
|
@ -87,7 +87,7 @@ impl Log for FromCompositorLogger {
|
|||
|
||||
fn log(&self, record: &Record) {
|
||||
if let Some(entry) = log_entry(record) {
|
||||
let top_level_id = TopLevelBrowsingContextId::installed();
|
||||
let top_level_id = WebViewId::installed();
|
||||
let thread_name = thread::current().name().map(ToOwned::to_owned);
|
||||
let msg = FromCompositorMsg::LogEntry(top_level_id, thread_name, entry);
|
||||
let chan = self.constellation_chan.lock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue