diff options
Diffstat (limited to 'components/layout/layout_thread.rs')
-rw-r--r-- | components/layout/layout_thread.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/layout/layout_thread.rs b/components/layout/layout_thread.rs index cdfb348288b..64779f8e031 100644 --- a/components/layout/layout_thread.rs +++ b/components/layout/layout_thread.rs @@ -1002,7 +1002,7 @@ impl LayoutThread { let document = unsafe { ServoLayoutNode::new(&data.document) }; let document = document.as_document().unwrap(); - debug!("layout: received layout request for: {}", self.url.borrow().serialize()); + debug!("layout: received layout request for: {}", *self.url.borrow()); let mut rw_data = possibly_locked_rw_data.lock(); @@ -1048,8 +1048,7 @@ impl LayoutThread { Some(x) => x, }; - debug!("layout: received layout request for: {}", - self.url.borrow().serialize()); + debug!("layout: received layout request for: {}", *self.url.borrow()); if log_enabled!(log::LogLevel::Debug) { node.dump(); } @@ -1463,7 +1462,7 @@ impl LayoutThread { /// Returns profiling information which is passed to the time profiler. fn profiler_metadata(&self) -> Option<TimerMetadata> { Some(TimerMetadata { - url: self.url.borrow().serialize(), + url: self.url.borrow().to_string(), iframe: if self.is_iframe { TimerMetadataFrameType::IFrame } else { |