diff options
Diffstat (limited to 'components/compositing/windowing.rs')
-rw-r--r-- | components/compositing/windowing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/compositing/windowing.rs b/components/compositing/windowing.rs index 51b13bfdf81..196e1e2653f 100644 --- a/components/compositing/windowing.rs +++ b/components/compositing/windowing.rs @@ -123,7 +123,7 @@ pub trait WindowMethods { /// Requests that the window system prepare a composite. Typically this will involve making /// some type of platform-specific graphics context current. Returns true if the composite may /// proceed and false if it should not. - fn prepare_for_composite(&self) -> bool; + fn prepare_for_composite(&self, width: usize, height: usize) -> bool; /// Sets the cursor to be used in the window. fn set_cursor(&self, cursor: Cursor); |