Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: experimental/SimpleiOSApp/SimpleApp.mm

Issue 388933003: fix ios break (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SimpleiOSApp/SimpleApp.mm
diff --git a/experimental/SimpleiOSApp/SimpleApp.mm b/experimental/SimpleiOSApp/SimpleApp.mm
index dba8bccafd30a3abe488f5ef0e7953d7db8cc520..44b646f54fdbddbf1ac2d29d3766dd3b00cad17c 100644
--- a/experimental/SimpleiOSApp/SimpleApp.mm
+++ b/experimental/SimpleiOSApp/SimpleApp.mm
@@ -5,7 +5,7 @@
#include "SkCGUtils.h"
extern void tool_main(int argc, char *argv[]);
-void save_args(int argc, char *argv[]);
+extern bool set_cmd_line_args(int argc, char *argv[], const char* dir);
class SkSampleView : public SkView {
public:
@@ -41,9 +41,10 @@ void application_term() {
int saved_argc;
char** saved_argv;
-void save_args(int argc, char *argv[]) {
+bool set_cmd_line_args(int argc, char *argv[], const char* ) {
saved_argc = argc;
saved_argv = argv;
+ return true;
}
class FillLayout : public SkView::Layout {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698