diff options
author | 2013-03-21 19:43:15 +0000 | |
---|---|---|
committer | 2013-03-21 19:43:15 +0000 | |
commit | d9ba9a05d6f5766fdb1378b6ed84c0659009a8da (patch) | |
tree | 3add5282273525de50f0b77ad7ff276cf91ddd46 /gm | |
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 'gm')
-rw-r--r-- | gm/gmmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 9774d9ee41..42c7889976 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -19,11 +19,11 @@ #include "SkBitmap.h" #include "SkBitmapChecksummer.h" #include "SkColorPriv.h" +#include "SkCommandLineFlags.h" #include "SkData.h" #include "SkDeferredCanvas.h" #include "SkDevice.h" #include "SkDrawFilter.h" -#include "SkFlags.h" #include "SkGPipe.h" #include "SkGraphics.h" #include "SkImageDecoder.h" @@ -1405,8 +1405,8 @@ int tool_main(int argc, char** argv) { SkString usage; usage.printf("Run the golden master tests.\n"); - SkFlags::SetUsage(usage.c_str()); - SkFlags::ParseCommandLine(argc, argv); + SkCommandLineFlags::SetUsage(usage.c_str()); + SkCommandLineFlags::Parse(argc, argv); gmmain.fUseFileHierarchy = FLAGS_hierarchy; if (FLAGS_mismatchPath.count() == 1) { |