diff options
author | mtklein <mtklein@chromium.org> | 2014-09-08 09:12:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-08 09:12:28 -0700 |
commit | 23c94f05cad79f6f8d303c1b4ffb6d0b91671e83 (patch) | |
tree | 33121cdefff99505ab8f4b5d662ee6ecf650c5b5 /dm/DMSKPTask.h | |
parent | 93f52a69443f9be16f4e98c21d1f6cf760a65f00 (diff) |
Let .skps have Expectations (i.e. work with -r) too.
BUG=skia:
R=jcgregorio@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/549183002
Diffstat (limited to 'dm/DMSKPTask.h')
-rw-r--r-- | dm/DMSKPTask.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dm/DMSKPTask.h b/dm/DMSKPTask.h index b8a288e037..6764a9ce09 100644 --- a/dm/DMSKPTask.h +++ b/dm/DMSKPTask.h @@ -1,6 +1,7 @@ #ifndef DMSKPTask_DEFINED #define DMSKPTask_DEFINED +#include "DMExpectations.h" #include "DMReporter.h" #include "DMTask.h" #include "DMTaskRunner.h" @@ -14,7 +15,7 @@ namespace DM { class SKPTask : public CpuTask { public: - SKPTask(Reporter*, TaskRunner*, const SkPicture*, SkString name); + SKPTask(Reporter*, TaskRunner*, const Expectations&, const SkPicture*, SkString name); virtual void draw() SK_OVERRIDE; virtual bool shouldSkip() const SK_OVERRIDE { return false; } @@ -22,6 +23,7 @@ public: private: SkAutoTUnref<const SkPicture> fPicture; + const Expectations& fExpectations; const SkString fName; }; |