Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / tools / Resources.cpp
index 756d14a..606c5c4 100644 (file)
@@ -13,5 +13,9 @@
 DEFINE_string2(resourcePath, i, "resources", "Directory with test resources: images, fonts, etc.");
 
 SkString GetResourcePath(const char* resource) {
-    return SkOSPath::SkPathJoin(FLAGS_resourcePath[0], resource);
+    return SkOSPath::Join(FLAGS_resourcePath[0], resource);
+}
+
+void SetResourcePath(const char* resource) {
+    FLAGS_resourcePath.set(0, resource);
 }