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

Unified Diff: tools/skhello.cpp

Issue 12440067: Change the name of SkFlags to SkCommandLineFlags. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: ParseCommandLine -> Parse Created 7 years, 9 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 | « tools/render_pictures_main.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skhello.cpp
diff --git a/tools/skhello.cpp b/tools/skhello.cpp
index 8cea1d16403902b0d40925de05e832a7c870589f..271041589fb1463fc54e245f003abb44dc8ca1a4 100644
--- a/tools/skhello.cpp
+++ b/tools/skhello.cpp
@@ -6,7 +6,7 @@
*/
#include "SkCanvas.h"
-#include "SkFlags.h"
+#include "SkCommandLineFlags.h"
#include "SkGraphics.h"
#include "SkImageEncoder.h"
#include "SkString.h"
@@ -16,8 +16,8 @@ DEFINE_string(t, "Hello", "The string to write.");
int tool_main(int argc, char** argv);
int tool_main(int argc, char** argv) {
- SkFlags::SetUsage("");
- SkFlags::ParseCommandLine(argc, argv);
+ SkCommandLineFlags::SetUsage("");
+ SkCommandLineFlags::Parse(argc, argv);
SkAutoGraphics ag;
SkString path("skhello.png");
« no previous file with comments | « tools/render_pictures_main.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698