aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-07-06 12:04:24 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-07-06 12:20:47 +0200
commit5f2d5ef74861b05480bd18fc0d65e19d435b2736 (patch)
tree86c159d5c2b9308a2ff75c6f1086da4e1f3dedd3 /components/script/dom/window.rs
parent23f5264e1c0b48ed0b04defdaa070a4336781d95 (diff)
downloadservo-5f2d5ef74861b05480bd18fc0d65e19d435b2736.tar.gz
servo-5f2d5ef74861b05480bd18fc0d65e19d435b2736.zip
Remove util::breakpoint
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index a098edcb43c..34ac683e233 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -96,8 +96,8 @@ use timers::{IsInterval, OneshotTimerCallback, OneshotTimerHandle, OneshotTimers
use tinyfiledialogs::{self, MessageBoxIcon};
use url::Url;
use util::geometry::{self, MAX_RECT};
+use util::opts;
use util::prefs::PREFS;
-use util::{breakpoint, opts};
use webdriver_handlers::jsval_to_webdriver;
/// Current state of the window object
@@ -669,8 +669,9 @@ impl WindowMethods for Window {
}
}
+ #[allow(unsafe_code)]
fn Trap(&self) {
- breakpoint();
+ unsafe { ::std::intrinsics::breakpoint() }
}
#[allow(unsafe_code)]