Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: tools/json/SkJSONCanvas.cpp

Issue 1690683002: added some missing static modifiers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/debugger/SkDrawCommand.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json/SkJSONCanvas.cpp
diff --git a/tools/json/SkJSONCanvas.cpp b/tools/json/SkJSONCanvas.cpp
index de7c40cca0277ed2b92b7c6dbefb0335521ee0ed..07c0aeb5d2616bc60e9c9c6ccf24367f92286e64 100644
--- a/tools/json/SkJSONCanvas.cpp
+++ b/tools/json/SkJSONCanvas.cpp
@@ -143,13 +143,14 @@ Json::Value SkJSONCanvas::makeRegion(const SkRegion& region) {
return Json::Value("<unimplemented>");
}
-void store_scalar(Json::Value* target, const char* key, SkScalar value, SkScalar defaultValue) {
+static void store_scalar(Json::Value* target, const char* key, SkScalar value,
+ SkScalar defaultValue) {
if (value != defaultValue) {
(*target)[key] = Json::Value(value);
}
}
-void store_bool(Json::Value* target, const char* key, bool value, bool defaultValue) {
+static void store_bool(Json::Value* target, const char* key, bool value, bool defaultValue) {
if (value != defaultValue) {
(*target)[key] = Json::Value(value);
}
« no previous file with comments | « tools/debugger/SkDrawCommand.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698