diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-12 11:06:50 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-12 11:06:50 -0700 |
commit | fab80925818e53bfb92ffa2684a6834bb9f70f29 (patch) | |
tree | e5154fd6a2e60fc9ff64525558532bb0d2fae93d /components/layout/layout_debug.rs | |
parent | 29d24a5049cda10111bb36f3ca2d798e68137107 (diff) | |
parent | 2b0eb98c1d0889d7966b2341528417cb3f916911 (diff) | |
download | servo-fab80925818e53bfb92ffa2684a6834bb9f70f29.tar.gz servo-fab80925818e53bfb92ffa2684a6834bb9f70f29.zip |
auto merge of #4902 : servo/servo/warnings, r=jdm
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r-- | components/layout/layout_debug.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs index c9f22460de7..9ecb6a00ea2 100644 --- a/components/layout/layout_debug.rs +++ b/components/layout/layout_debug.rs @@ -14,11 +14,11 @@ use serialize::json; use std::borrow::ToOwned; use std::cell::RefCell; use std::old_io::File; -use std::sync::atomic::{AtomicUint, Ordering, ATOMIC_UINT_INIT}; +use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; thread_local!(static STATE_KEY: RefCell<Option<State>> = RefCell::new(None)); -static mut DEBUG_ID_COUNTER: AtomicUint = ATOMIC_UINT_INIT; +static mut DEBUG_ID_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; pub struct Scope; |