remove command line args
R=robertphillips@google.com TBR=robertphillips NOTRY=true NOTREECHECKS=true Author: caryclark@google.com Review URL: https://codereview.chromium.org/408243003
This commit is contained in:
parent
fa9d1356d9
commit
7419e95f39
@ -24,7 +24,7 @@ class SkiaInstance;
|
|||||||
SkiaInstance* gPluginInstance;
|
SkiaInstance* gPluginInstance;
|
||||||
|
|
||||||
// Main entry point for the app we're linked into
|
// Main entry point for the app we're linked into
|
||||||
extern int test_main(int, char**);
|
extern int test_main();
|
||||||
|
|
||||||
// Tokenize a command line and store it in argc and argv.
|
// Tokenize a command line and store it in argc and argv.
|
||||||
void SkStringToProgramArgs(const SkString commandLine, int* argc, char*** argv) {
|
void SkStringToProgramArgs(const SkString commandLine, int* argc, char*** argv) {
|
||||||
@ -68,7 +68,7 @@ void RunProgram(const SkString& commandLine) {
|
|||||||
int argc;
|
int argc;
|
||||||
char** argv;
|
char** argv;
|
||||||
SkStringToProgramArgs(commandLine, &argc, &argv);
|
SkStringToProgramArgs(commandLine, &argc, &argv);
|
||||||
test_main(argc, argv);
|
test_main();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user