diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-10-30 07:54:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 07:54:10 -0400 |
commit | c876592d84dc3e82fab355649a6f35d93b8bdd81 (patch) | |
tree | 2dec8b39cf5166457bebaef96060d1311727c2f5 /components/servo/lib.rs | |
parent | b5b8550fb206cf7159feed3ea14418b5c0358ee2 (diff) | |
parent | d6b41ba67d2e2b183055e1928bc14735db72a8c1 (diff) | |
download | servo-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.rs | 3 |
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)); |