| Index: dm/DMExpectations.h
|
| diff --git a/dm/DMExpectations.h b/dm/DMExpectations.h
|
| index 238d1c5beab77cf0820ed3dd32e6bf6a15adfa82..5509709104f806cb17b3c0e8aa03510caa44e35d 100644
|
| --- a/dm/DMExpectations.h
|
| +++ b/dm/DMExpectations.h
|
| @@ -19,6 +19,7 @@ public:
|
| bool check(const Task&, SkBitmap) const SK_OVERRIDE { return true; }
|
| };
|
|
|
| +#ifdef SK_BUILD_JSON_WRITER
|
| class JsonExpectations : public Expectations {
|
| public:
|
| explicit JsonExpectations(const char* path) : fGMExpectations(path) {}
|
| @@ -40,6 +41,7 @@ public:
|
| private:
|
| skiagm::JsonExpectationsSource fGMExpectations;
|
| };
|
| +#endif
|
|
|
| } // namespace DM
|
|
|
|
|