Auto merge of #15667 - glennw:update-wr-empty-layer-fix, r=shinglyu

Update WR (more scroll/clip work, fix for zero sized stacking contexts).

<!-- 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/15667)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-02-20 20:05:01 -08:00 committed by GitHub
commit b63488c2ac
2 changed files with 3 additions and 6 deletions

4
Cargo.lock generated
View file

@ -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)",

View file

@ -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!")
};