mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove util::breakpoint
This commit is contained in:
parent
23f5264e1c
commit
5f2d5ef748
3 changed files with 4 additions and 10 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue