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

Unified Diff: ports/agg-demo/drawing.cc

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 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 | « build_tools/pnacl-configure-shim.py ('k') | ports/alut-demo/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/agg-demo/drawing.cc
diff --git a/ports/agg-demo/drawing.cc b/ports/agg-demo/drawing.cc
index 40fa41e21e9a7f1585cec40ffaa718758cffd4de..a300c52f5335af06a38ef94605f598bd6d229da1 100755
--- a/ports/agg-demo/drawing.cc
+++ b/ports/agg-demo/drawing.cc
@@ -24,7 +24,6 @@
#include <agg-2.5/agg_scanline_u.h>
#include "ppapi_simple/ps_context_2d.h"
-#include "ppapi_simple/ps_main.h"
// Drawing class holds information and functionality needed to render
@@ -163,11 +162,8 @@ void DrawingDemo::Run() {
}
-int example_main(int argc, char **argv) {
+int main(int argc, char **argv) {
DrawingDemo demo;
demo.Run();
return 0;
}
-
-
-PPAPI_SIMPLE_REGISTER_MAIN(example_main);
« no previous file with comments | « build_tools/pnacl-configure-shim.py ('k') | ports/alut-demo/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698