Index: tools/render_pictures_main.cpp |
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp |
index 5e0ac99945453a2c9e7c8dfafac77b9f7b4df2e9..81fb96c05a7d0dba9dd3d0f1164a8c3610780552 100644 |
--- a/tools/render_pictures_main.cpp |
+++ b/tools/render_pictures_main.cpp |
@@ -8,7 +8,7 @@ |
#include "CopyTilesRenderer.h" |
#include "SkBitmap.h" |
#include "SkDevice.h" |
-#include "SkFlags.h" |
+#include "SkCommandLineFlags.h" |
#include "SkGraphics.h" |
#include "SkImageDecoder.h" |
#include "SkImageEncoder.h" |
@@ -274,8 +274,8 @@ static int process_input(const char* input, const SkString* outputDir, |
int tool_main(int argc, char** argv); |
int tool_main(int argc, char** argv) { |
- SkFlags::SetUsage("Render .skp files."); |
- SkFlags::ParseCommandLine(argc, argv); |
+ SkCommandLineFlags::SetUsage("Render .skp files."); |
+ SkCommandLineFlags::Parse(argc, argv); |
if (FLAGS_r.isEmpty()) { |
SkDebugf(".skp files or directories are required.\n"); |