| Index: dm/DMSrcSink.h
|
| diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
|
| index 67c8e5cf4f1aad7098027cb9fc3c20e77daf46b0..16f7c144eba5f43b7c0ba249244501349848155e 100644
|
| --- a/dm/DMSrcSink.h
|
| +++ b/dm/DMSrcSink.h
|
| @@ -21,6 +21,7 @@ struct ImplicitString : public SkString {
|
| };
|
| typedef ImplicitString Error;
|
| typedef ImplicitString Name;
|
| +typedef ImplicitString Path;
|
|
|
| struct Src {
|
| // All Srcs must be thread safe.
|
| @@ -60,25 +61,25 @@ private:
|
|
|
| class ImageSrc : public Src {
|
| public:
|
| - explicit ImageSrc(SkString path, int subsets = 0);
|
| + explicit ImageSrc(Path path, int subsets = 0);
|
|
|
| Error draw(SkCanvas*) const SK_OVERRIDE;
|
| SkISize size() const SK_OVERRIDE;
|
| Name name() const SK_OVERRIDE;
|
| private:
|
| - SkString fPath;
|
| - int fSubsets;
|
| + Path fPath;
|
| + int fSubsets;
|
| };
|
|
|
| class SKPSrc : public Src {
|
| public:
|
| - explicit SKPSrc(SkString path);
|
| + explicit SKPSrc(Path path);
|
|
|
| Error draw(SkCanvas*) const SK_OVERRIDE;
|
| SkISize size() const SK_OVERRIDE;
|
| Name name() const SK_OVERRIDE;
|
| private:
|
| - SkString fPath;
|
| + Path fPath;
|
| };
|
|
|
| /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
|