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); |
} |