mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move RegisterBindings::RegisterProxyHandlers call into script::init
closes #7336
This commit is contained in:
parent
524b02dbf7
commit
77e8d3071c
2 changed files with 6 additions and 5 deletions
|
@ -42,8 +42,6 @@ use compositing::{CompositorProxy, CompositorTask, Constellation};
|
|||
use msg::constellation_msg::ConstellationChan;
|
||||
use msg::constellation_msg::Msg as ConstellationMsg;
|
||||
|
||||
use script::dom::bindings::codegen::RegisterBindings;
|
||||
|
||||
use net::image_cache_task::new_image_cache_task;
|
||||
use net::resource_task::new_resource_task;
|
||||
use net::storage_task::StorageTaskFactory;
|
||||
|
@ -82,9 +80,6 @@ impl Browser {
|
|||
let opts = opts::get();
|
||||
|
||||
script::init();
|
||||
// Create the global vtables used by the (generated) DOM
|
||||
// bindings to implement JS proxies.
|
||||
RegisterBindings::RegisterProxyHandlers();
|
||||
|
||||
// Get both endpoints of a special channel for communication between
|
||||
// the client window and the compositor. This channel is unique because
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue