Remove use of webrender::RendererKind

It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587
CC https://bugzilla.mozilla.org/show_bug.cgi?id=1631579
This commit is contained in:
Simon Sapin 2020-04-20 22:05:59 +02:00
parent 4c8413d532
commit bbed751bbc
2 changed files with 1 additions and 14 deletions

View file

@ -1009,9 +1009,3 @@ pub fn parse_url_or_filename(cwd: &Path, input: &str) -> Result<ServoUrl, ()> {
Err(_) => Err(()),
}
}
impl Opts {
pub fn should_use_osmesa(&self) -> bool {
self.headless
}
}