aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/comment.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-07-27 20:22:13 +0200
committerMs2ger <ms2ger@gmail.com>2014-07-27 23:00:17 +0200
commit944d8b00b05c41a272f59eb8d24886ece8bcc95b (patch)
tree706088bb79c7f33c954837352228dd03170a8171 /src/components/script/dom/comment.rs
parent38a658d561a316031f190f3f1f2055b0be78553f (diff)
downloadservo-944d8b00b05c41a272f59eb8d24886ece8bcc95b.tar.gz
servo-944d8b00b05c41a272f59eb8d24886ece8bcc95b.zip
Call the generated rather than the hand-written traits (fixes #2936).
Diffstat (limited to 'src/components/script/dom/comment.rs')
-rw-r--r--src/components/script/dom/comment.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/comment.rs b/src/components/script/dom/comment.rs
index fe200cf9d48..e50b24b2a58 100644
--- a/src/components/script/dom/comment.rs
+++ b/src/components/script/dom/comment.rs
@@ -2,8 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use dom::bindings::codegen::InheritTypes::CommentDerived;
use dom::bindings::codegen::Bindings::CommentBinding;
+use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods;
+use dom::bindings::codegen::InheritTypes::CommentDerived;
use dom::bindings::error::Fallible;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, Temporary};
@@ -12,7 +13,6 @@ use dom::characterdata::CharacterData;
use dom::document::Document;
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
use dom::node::{CommentNodeTypeId, Node};
-use dom::window::WindowMethods;
use servo_util::str::DOMString;
/// An HTML comment.