aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
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!")
};