| Index: samplecode/SampleApp.cpp
|
| diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
|
| index 439b699c383ac1c933333a650c91e3cff2111c2c..62970302df50d53de5e5ae7a221b23278b8afdaf 100644
|
| --- a/samplecode/SampleApp.cpp
|
| +++ b/samplecode/SampleApp.cpp
|
| @@ -80,14 +80,14 @@ public:
|
| }
|
| };
|
|
|
| -extern SampleView* CreateSampleSVGFileView(const char filename[]);
|
| +extern SampleView* CreateSampleSVGFileView(const SkString& filename);
|
|
|
| class SVGFileFactory : public SkViewFactory {
|
| SkString fFilename;
|
| public:
|
| SVGFileFactory(const SkString& filename) : fFilename(filename) {}
|
| SkView* operator() () const override {
|
| - return CreateSampleSVGFileView(fFilename.c_str());
|
| + return CreateSampleSVGFileView(fFilename);
|
| }
|
| };
|
|
|
|
|