Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index 31ef48449a55e0c1fdca92d4812e9b626c47af72..1013145a902f858ef45afde14731c246432df137 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -10,7 +10,7 @@ |
#include "PictureBenchmark.h" |
#include "PictureRenderingFlags.h" |
#include "SkBenchLogger.h" |
-#include "SkFlags.h" |
+#include "SkCommandLineFlags.h" |
#include "SkGraphics.h" |
#include "SkImageDecoder.h" |
#if LAZY_CACHE_STATS |
@@ -390,8 +390,8 @@ int tool_main(int argc, char** argv) { |
usage.printf("Time drawing .skp files.\n" |
"\tPossible arguments for --filter: [%s]\n\t\t[%s]", |
filterTypesUsage().c_str(), filterFlagsUsage().c_str()); |
- SkFlags::SetUsage(usage.c_str()); |
- SkFlags::ParseCommandLine(argc, argv); |
+ SkCommandLineFlags::SetUsage(usage.c_str()); |
+ SkCommandLineFlags::Parse(argc, argv); |
if (FLAGS_repeat < 1) { |
SkString error; |