| Index: tools/Resources.cpp
|
| diff --git a/tools/Resources.cpp b/tools/Resources.cpp
|
| index 756d14ad3acadf235bd5c2673168b5ab4e197919..0efd66b246caf2527bc98a1ff029804e6414555b 100644
|
| --- a/tools/Resources.cpp
|
| +++ b/tools/Resources.cpp
|
| @@ -15,3 +15,7 @@ DEFINE_string2(resourcePath, i, "resources", "Directory with test resources: ima
|
| SkString GetResourcePath(const char* resource) {
|
| return SkOSPath::SkPathJoin(FLAGS_resourcePath[0], resource);
|
| }
|
| +
|
| +void SetResourcePath(const char* resource) {
|
| + FLAGS_resourcePath.set(0, resource);
|
| +}
|
|
|