geckodriver: marionette: convert str to owned string

Fixes build.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 871a7065b88eb06725d0dd8490cd0caefae857cc

--HG--
extra : rebase_source : 7f6563c0e4744a13941c07f19fc379b805be873e
This commit is contained in:
Andreas Tolfsen 2017-04-12 15:08:06 +01:00
parent 32ffb8bc18
commit a916118d82

View File

@ -316,7 +316,7 @@ impl MarionetteHandler {
e.description().to_owned())));
// double-dashed flags are not accepted on Windows systems
runner.args().push("-marionette");
runner.args().push("-marionette".to_owned());
if let Some(args) = options.args.take() {
runner.args().extend(args);