[Mojo] mojo_native_viewport_service should use "--" args
commit5acd9fe37eae1ff654eb195960d30be0fa55f03f
authorabarth <abarth@chromium.org>
Thu, 16 Oct 2014 01:39:00 +0000 (15 18:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Oct 2014 01:39:15 +0000 (16 01:39 +0000)
tree5ca58f7ebaba30395319afa96261a3986ac3f020
parent6496cba4ebc17a9c2a3f6247415f7b40c4838f08
[Mojo] mojo_native_viewport_service should use "--" args

I expected the mojo_native_viewport_service to use -- as a prefix for its
arguments:

mojo_shell --args-for="mojo://mojo_native_viewport_service/ --use-headless-config"

but prior to this CL, it was expect its arguments without the leading "--".
After this CL, it expects the leading "--".

R=davemoore@chromium.org,hansmuller@chromium.org

Review URL: https://codereview.chromium.org/661513002

Cr-Commit-Position: refs/heads/master@{#299810}
mojo/services/public/cpp/native_viewport/lib/args.cc