remove Sk prefix from CommandLineFlags
The command line flag package is tool-only, not part of Skia per se,
and does not need an Sk prefix to avoid naming conflicts.
And git clang-format.
Change-Id: Ida8477779e51750ed0475590ed2454841b23d6ea
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202307
Auto-Submit: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
index 468d85b..1afdde3 100644
--- a/tools/lua/lua_pictures.cpp
+++ b/tools/lua/lua_pictures.cpp
@@ -5,15 +5,15 @@
* found in the LICENSE file.
*/
+#include "CommandLineFlags.h"
+#include "SkData.h"
+#include "SkGraphics.h"
#include "SkLua.h"
#include "SkLuaCanvas.h"
-#include "SkPicture.h"
-#include "SkCommandLineFlags.h"
-#include "SkGraphics.h"
-#include "SkStream.h"
-#include "SkData.h"
#include "SkOSFile.h"
#include "SkOSPath.h"
+#include "SkPicture.h"
+#include "SkStream.h"
#include <stdlib.h>
@@ -63,8 +63,8 @@
}
int main(int argc, char** argv) {
- SkCommandLineFlags::SetUsage("apply lua script to .skp files.");
- SkCommandLineFlags::Parse(argc, argv);
+ CommandLineFlags::SetUsage("apply lua script to .skp files.");
+ CommandLineFlags::Parse(argc, argv);
if (FLAGS_skpPath.isEmpty()) {
SkDebugf(".skp files or directories are required.\n");