aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorGlenn Watson <github@intuitionlibrary.com>2017-02-21 12:29:39 +1000
committerGlenn Watson <github@intuitionlibrary.com>2017-02-21 13:04:33 +1000
commit64cc8b1d1b8bfea7baaf8129f9c4fcdbb832fda9 (patch)
treefe7bec4fa67e90ff72d0377773a0139ece402c2f /components/servo/lib.rs
parentb5d8e8b84d75d14ed6e4bce7174cb762b85b6f84 (diff)
downloadservo-64cc8b1d1b8bfea7baaf8129f9c4fcdbb832fda9.tar.gz
servo-64cc8b1d1b8bfea7baaf8129f9c4fcdbb832fda9.zip
Update WR (more scroll/clip work, fix for zero sized stacking contexts).
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs5
1 files changed, 1 insertions, 4 deletions
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!")
};