aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-10-30 07:54:10 -0400
committerGitHub <noreply@github.com>2018-10-30 07:54:10 -0400
commitc876592d84dc3e82fab355649a6f35d93b8bdd81 (patch)
tree2dec8b39cf5166457bebaef96060d1311727c2f5 /components/servo/lib.rs
parentb5b8550fb206cf7159feed3ea14418b5c0358ee2 (diff)
parentd6b41ba67d2e2b183055e1928bc14735db72a8c1 (diff)
downloadservo-c876592d84dc3e82fab355649a6f35d93b8bdd81.tar.gz
servo-c876592d84dc3e82fab355649a6f35d93b8bdd81.zip
Auto merge of #22048 - paulrouget:remove_prepare_for_composite_args, r=jdm
remove useless arguments from prepare_for_composite Accidentally fixes #22009 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22009 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22048) <!-- Reviewable:end -->
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));