aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorAneesh Agrawal <aneeshusa@gmail.com>2017-01-15 23:56:21 -0500
committerAneesh Agrawal <aneeshusa@gmail.com>2017-01-20 02:05:50 -0500
commitb94b58f7ae251f6ca2b692fed808f5db18cbb55e (patch)
tree467361c545029f5c42214fcc837c49860e458d41 /components
parent363f590019e495fffab0cc0fa0464e05d2fc96e8 (diff)
downloadservo-b94b58f7ae251f6ca2b692fed808f5db18cbb55e.tar.gz
servo-b94b58f7ae251f6ca2b692fed808f5db18cbb55e.zip
Remove -w flag now that WebRender is always used
Also remove the obsolete `--cpu` and `--gpu` renderer flags, which also are no longer used. Update tests and wptrunner to not pass these flags. wptrunner changes have been upstreamed in: - w3c/wptrunner#224 - w3c/wptrunner#226
Diffstat (limited to 'components')
-rw-r--r--components/config/opts.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs
index df2bb2e041e..4abcf1f8421 100644
--- a/components/config/opts.rs
+++ b/components/config/opts.rs
@@ -573,8 +573,6 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
let (app_name, args) = args.split_first().unwrap();
let mut opts = Options::new();
- opts.optflag("c", "cpu", "CPU painting");
- opts.optflag("g", "gpu", "GPU painting");
opts.optopt("o", "output", "Output file", "output.png");
opts.optopt("s", "size", "Size of tiles", "512");
opts.optopt("", "device-pixel-ratio", "Device pixels per px", "");
@@ -620,7 +618,6 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
opts.optmulti("", "pref",
"A preference to set to enable", "dom.mozbrowser.enabled");
opts.optflag("b", "no-native-titlebar", "Do not use native titlebar");
- opts.optflag("w", "webrender", "Use webrender backend");
opts.optopt("G", "graphics", "Select graphics backend (gl or es2)", "gl");
opts.optopt("", "config-dir",
"config directory following xdg spec on linux platform", "");