servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio
authorMatt Brubeck <mbrubeck@limpet.net>
Fri, 10 Nov 2017 13:50:14 -0600
changeset 444608 0bcca769b0e9192aaca4875f0364d691d9097b5f
parent 444607 5d321835674f4512136783cb63e56f7df479b46c
child 444609 993f57169829ffce97249fba7e02787e723dd8a9
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio A little bit was left over from #16716. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they only remove unused code Source-Repo: https://github.com/servo/servo Source-Revision: 3d888b5db8a1b23a2f15958f453ded3d591c01b0
servo/components/config/opts.rs
--- a/servo/components/config/opts.rs
+++ b/servo/components/config/opts.rs
@@ -564,17 +564,16 @@ pub fn from_cmdline_args(args: &[String]
     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", "");
-    opts.optopt("t", "threads", "Number of paint threads", "1");
     opts.optflagopt("p", "profile", "Time profiler flag and either a TSV output filename \
         OR an interval for output to Stdout (blank for Stdout with interval of 5s)", "10 \
         OR time.tsv");
     opts.optflagopt("", "profiler-trace-path",
                     "Path to dump a self-contained HTML timeline of profiler traces",
                     "");
     opts.optflagopt("m", "memory-profile", "Memory profiler flag and output interval", "10");
     opts.optflag("x", "exit", "Exit after load flag");