aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2018-10-30 07:51:38 +0100
committerPaul Rouget <me@paulrouget.com>2018-10-30 07:51:38 +0100
commitd6b41ba67d2e2b183055e1928bc14735db72a8c1 (patch)
tree66d343509c23fad7bcccc34ae700ad8724ead2dd /components/servo/lib.rs
parentb19f9d9c5b6360d1d05ac3b2b7b3b5d78b0bdfa9 (diff)
downloadservo-d6b41ba67d2e2b183055e1928bc14735db72a8c1.tar.gz
servo-d6b41ba67d2e2b183055e1928bc14735db72a8c1.zip
remove useless arguments from prepare_for_composite
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index 2e27094784b..796050573a7 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -82,7 +82,6 @@ use constellation::{FromCompositorLogger, FromScriptLogger};
use constellation::content_process_sandbox_profile;
use embedder_traits::{EmbedderMsg, EmbedderProxy, EmbedderReceiver, EventLoopWaker};
use env_logger::Builder as EnvLoggerBuilder;
-use euclid::Length;
#[cfg(all(not(target_os = "windows"), not(target_os = "ios")))]
use gaol::sandbox::{ChildSandbox, ChildSandboxMethods};
use gfx::font_cache_thread::FontCacheThread;
@@ -138,7 +137,7 @@ where
let opts = opts::get();
// Make sure the gl context is made current.
- window.prepare_for_composite(Length::new(0), Length::new(0));
+ window.prepare_for_composite();
// Reserving a namespace to create TopLevelBrowserContextId.
PipelineNamespace::install(PipelineNamespaceId(0));