mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
script: Eliminate the phantom type in favor of just whitelisting methods
that layout can safely call. This is simpler. Currently, the set of methods is not safe, but I plan to lock it down more soon.
This commit is contained in:
parent
da4cff034b
commit
be69a503fe
96 changed files with 646 additions and 522 deletions
|
@ -8,7 +8,7 @@ use dom::bindings::utils::{trace_option, trace_reflector};
|
|||
use dom::bindings::utils::DOMString;
|
||||
use dom::document::AbstractDocument;
|
||||
use dom::eventtarget::{EventTarget, WindowTypeId};
|
||||
use dom::node::{AbstractNode, ScriptView};
|
||||
use dom::node::AbstractNode;
|
||||
use dom::location::Location;
|
||||
use dom::navigator::Navigator;
|
||||
|
||||
|
@ -114,7 +114,7 @@ impl Window {
|
|||
pub fn Blur(&self) {
|
||||
}
|
||||
|
||||
pub fn GetFrameElement(&self) -> Option<AbstractNode<ScriptView>> {
|
||||
pub fn GetFrameElement(&self) -> Option<AbstractNode> {
|
||||
None
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue