aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-07-26 17:30:45 +0200
committerMs2ger <ms2ger@gmail.com>2015-07-26 17:30:45 +0200
commitf57ed72d95e18ee90cc71f553e320fdc7f15f33f (patch)
tree30162df58c77b3c17855b7fa78a57d03bad0652e /components/script/dom
parentcdcecaef04e8450b139d2e4b7d06c8fe7a035903 (diff)
downloadservo-f57ed72d95e18ee90cc71f553e320fdc7f15f33f.tar.gz
servo-f57ed72d95e18ee90cc71f553e320fdc7f15f33f.zip
Remove unused method Window::handle_resize_inactive_msg.
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/window.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 5c1977626b2..0294fb9f988 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -540,7 +540,6 @@ pub trait WindowHelpers {
fn content_box_query(self, content_box_request: TrustedNodeAddress) -> Rect<Au>;
fn content_boxes_query(self, content_boxes_request: TrustedNodeAddress) -> Vec<Rect<Au>>;
fn handle_reflow_complete_msg(self, reflow_id: u32);
- fn handle_resize_inactive_msg(self, new_size: WindowSizeData);
fn set_fragment_name(self, fragment: Option<String>);
fn steal_fragment_name(self) -> Option<String>;
fn set_window_size(self, size: WindowSizeData);
@@ -776,10 +775,6 @@ impl<'a> WindowHelpers for &'a Window {
}
}
- fn handle_resize_inactive_msg(self, new_size: WindowSizeData) {
- self.window_size.set(Some(new_size));
- }
-
fn init_browsing_context(self, doc: &Document, frame_element: Option<&Element>) {
let mut browsing_context = self.browsing_context.borrow_mut();
*browsing_context = Some(BrowsingContext::new(doc, frame_element));