mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use RefCell in DOMRefCell to reduce duplicated code.
This commit is contained in:
parent
c0016c7438
commit
86d609abaf
8 changed files with 28 additions and 95 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::attr::AttrHelpers;
|
||||
use dom::bindings::cell::{DOMRefCell, Ref};
|
||||
use dom::bindings::cell::DOMRefCell;
|
||||
use dom::bindings::codegen::Bindings::DocumentBinding;
|
||||
use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, DocumentReadyState};
|
||||
use dom::bindings::codegen::Bindings::DocumentBinding::DocumentReadyStateValues;
|
||||
|
@ -65,7 +65,7 @@ use url::Url;
|
|||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::{Vacant, Occupied};
|
||||
use std::ascii::AsciiExt;
|
||||
use std::cell::Cell;
|
||||
use std::cell::{Cell, Ref};
|
||||
use std::default::Default;
|
||||
use time;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue