diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-21 19:43:15 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-21 19:43:15 +0000 |
commit | d9ba9a05d6f5766fdb1378b6ed84c0659009a8da (patch) | |
tree | 3add5282273525de50f0b77ad7ff276cf91ddd46 /tools/skhello.cpp | |
parent | cc9aad5787b52216f46b9d6d95a781240e3e6b6b (diff) |
Change the name of SkFlags to SkCommandLineFlags.
This name is more specific to what it actually does.
Also move the code into tools/flags, to (slightly) better organize
the massive tools folder.
Update the programs that use it to use the new names.
No functionality changes.
BUG=https://code.google.com/p/skia/issues/detail?id=1173
Review URL: https://codereview.chromium.org/12440067
git-svn-id: http://skia.googlecode.com/svn/trunk@8304 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp index 8cea1d1640..271041589f 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"); |