mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Moved pop_current_element_queue() and push_new_element_queue() to htmlconstructor.rs
This commit is contained in:
parent
d71ff786c6
commit
83adc7b769
3 changed files with 11 additions and 11 deletions
|
@ -28,7 +28,6 @@ use js::jsapi::{TrueHandleValue, Value};
|
|||
use js::jsval::{JSVal, PrivateValue};
|
||||
use js::rust::{define_methods, define_properties, get_object_class};
|
||||
use libc;
|
||||
use script_thread::ScriptThread;
|
||||
use std::ptr;
|
||||
|
||||
/// The class of a non-callback interface object.
|
||||
|
@ -159,14 +158,6 @@ pub unsafe fn create_global_object(
|
|||
JS_FireOnNewGlobalObject(cx, rval.handle());
|
||||
}
|
||||
|
||||
pub fn push_new_element_queue() {
|
||||
ScriptThread::push_new_element_queue();
|
||||
}
|
||||
|
||||
pub fn pop_current_element_queue() {
|
||||
ScriptThread::pop_current_element_queue();
|
||||
}
|
||||
|
||||
/// Create and define the interface object of a callback interface.
|
||||
pub unsafe fn create_callback_interface_object(
|
||||
cx: *mut JSContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue