mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Do not glob-export DevtoolsControlMsg variants.
This commit is contained in:
parent
66f4faf44f
commit
1452614e28
5 changed files with 15 additions and 14 deletions
|
@ -41,8 +41,8 @@ use page::{Page, IterablePage, Frame};
|
|||
use timers::TimerId;
|
||||
use devtools;
|
||||
|
||||
use devtools_traits::{DevtoolsControlChan, DevtoolsControlPort, NewGlobal, GetRootNode, DevtoolsPageInfo};
|
||||
use devtools_traits::{DevtoolScriptControlMsg, EvaluateJS, GetDocumentElement};
|
||||
use devtools_traits::{DevtoolsControlChan, DevtoolsControlPort, GetRootNode, DevtoolsPageInfo};
|
||||
use devtools_traits::{DevtoolsControlMsg, DevtoolScriptControlMsg, EvaluateJS, GetDocumentElement};
|
||||
use devtools_traits::{GetChildren, GetLayout, ModifyAttribute, WantsLiveNotifications};
|
||||
use script_traits::CompositorEvent;
|
||||
use script_traits::CompositorEvent::{ResizeEvent, ReflowEvent, ClickEvent};
|
||||
|
@ -947,8 +947,9 @@ impl ScriptTask {
|
|||
title: document.r().Title(),
|
||||
url: final_url
|
||||
};
|
||||
chan.send(NewGlobal(pipeline_id, self.devtools_sender.clone(),
|
||||
page_info)).unwrap();
|
||||
chan.send(DevtoolsControlMsg::NewGlobal(pipeline_id,
|
||||
self.devtools_sender.clone(),
|
||||
page_info)).unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue