aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2013-10-09 05:40:12 -0700
committerbors-servo <release+servo@mozilla.com>2013-10-09 05:40:12 -0700
commit89dd9dd8eb2e473dffd5ad2d5d75012b15f75570 (patch)
tree1d63567326f11a080eada45292ab09a15115f4bc /src/components/script/script_task.rs
parent77f8dba48b21e200b4b9c6d35db853581b9804bc (diff)
parent5ed8b9e83f960918d3f5f76efbf2706689c4160e (diff)
downloadservo-89dd9dd8eb2e473dffd5ad2d5d75012b15f75570.tar.gz
servo-89dd9dd8eb2e473dffd5ad2d5d75012b15f75570.zip
auto merge of #1028 : bholley/servo/reflector_rename, r=jdm
There are still a few instances of "wrapper"-ish names scattered throughout the code, but this is a good start.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index cf711c1fc68..69509d3a648 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -8,7 +8,7 @@
use servo_msg::compositor_msg::{ScriptListener, Loading, PerformingLayout};
use servo_msg::compositor_msg::FinishedLoading;
use dom::bindings::codegen::RegisterBindings;
-use dom::bindings::utils::{CacheableWrapper, GlobalStaticData};
+use dom::bindings::utils::{Reflectable, GlobalStaticData};
use dom::document::AbstractDocument;
use dom::element::Element;
use dom::event::{Event_, ResizeEvent, ReflowEvent, ClickEvent, MouseDownEvent, MouseUpEvent};
@@ -707,7 +707,7 @@ impl ScriptTask {
self.chan.clone(),
self.compositor,
self.image_cache_task.clone());
- page.initialize_js_info(cx, window.get_wrappercache().get_wrapper());
+ page.initialize_js_info(cx, window.reflector().get_jsobject());
RegisterBindings::Register(page.js_info.get_ref().js_compartment);