diff options
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | components/servo/lib.rs | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock index f1aadf53edb..f4bcddf04b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3210,7 +3210,7 @@ dependencies = [ [[package]] name = "webrender" version = "0.17.0" -source = "git+https://github.com/servo/webrender#12e583107f5525012f838acf847b2d9b47ea3f60" +source = "git+https://github.com/servo/webrender#4221987984718bfc6312f92df9501d8fd7a88ea8" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.0.0-alpha2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3238,7 +3238,7 @@ dependencies = [ [[package]] name = "webrender_traits" version = "0.16.0" -source = "git+https://github.com/servo/webrender#12e583107f5525012f838acf847b2d9b47ea3f60" +source = "git+https://github.com/servo/webrender#4221987984718bfc6312f92df9501d8fd7a88ea8" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 3ba9f33d5d3..38b9b7b8325 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -183,10 +183,7 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static { enable_scrollbars: opts.output_file.is_none(), renderer_kind: renderer_kind, enable_subpixel_aa: opts.enable_subpixel_text_antialiasing, - clear_framebuffer: true, - clear_color: webrender_traits::ColorF::new(1.0, 1.0, 1.0, 1.0), - render_target_debug: false, - workers: None, + ..Default::default() }).expect("Unable to initialize webrender!") }; |