mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make ServoLayoutNode::debug_id() less convoluted.
This commit is contained in:
parent
7de3d165ad
commit
a8bb3d8d22
1 changed files with 1 additions and 2 deletions
|
@ -35,7 +35,6 @@ use data::{LayoutDataFlags, PrivateLayoutData};
|
|||
use gfx::display_list::OpaqueNode;
|
||||
use gfx::text::glyph::ByteIndex;
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use opaque_node::OpaqueNodeMethods;
|
||||
use range::Range;
|
||||
use script::layout_interface::{CAN_BE_FRAGMENTED, HAS_CHANGED, HAS_DIRTY_DESCENDANTS, IS_DIRTY};
|
||||
use script::layout_interface::{CharacterDataTypeId, Document, Element, ElementTypeId};
|
||||
|
@ -168,7 +167,7 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
|
|||
}
|
||||
|
||||
fn debug_id(self) -> usize {
|
||||
self.opaque().to_untrusted_node_address().0 as usize
|
||||
self.opaque().0
|
||||
}
|
||||
|
||||
fn children_count(&self) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue