mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Rename Reflectable
to DomObject
.
Fixes https://github.com/servo/servo/issues/8473.
This commit is contained in:
parent
0fe94a6724
commit
449f6337d4
72 changed files with 168 additions and 168 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::bindings::refcounted::Trusted;
|
||||
use dom::bindings::reflector::Reflectable;
|
||||
use dom::bindings::reflector::DomObject;
|
||||
use dom::bindings::structuredclone::StructuredCloneData;
|
||||
use js::jsapi::{JSRuntime, JS_RequestInterruptCallback};
|
||||
use js::rust::Runtime;
|
||||
|
@ -17,11 +17,11 @@ pub enum WorkerScriptMsg {
|
|||
DOMMessage(StructuredCloneData)
|
||||
}
|
||||
|
||||
pub struct SimpleWorkerErrorHandler<T: Reflectable> {
|
||||
pub struct SimpleWorkerErrorHandler<T: DomObject> {
|
||||
pub addr: Trusted<T>,
|
||||
}
|
||||
|
||||
impl<T: Reflectable> SimpleWorkerErrorHandler<T> {
|
||||
impl<T: DomObject> SimpleWorkerErrorHandler<T> {
|
||||
pub fn new(addr: Trusted<T>) -> SimpleWorkerErrorHandler<T> {
|
||||
SimpleWorkerErrorHandler {
|
||||
addr: addr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue