Index: dm/DMSKPTask.cpp |
diff --git a/dm/DMSKPTask.cpp b/dm/DMSKPTask.cpp |
index 295499b96168b9dcfdb723887cfdde27caaf9898..357d46e71915dd61576688d6b33d0aaad3e0c2ef 100644 |
--- a/dm/DMSKPTask.cpp |
+++ b/dm/DMSKPTask.cpp |
@@ -15,7 +15,7 @@ class SkrComparisonTask : public CpuTask { |
public: |
SkrComparisonTask(const Task& parent, const SkPicture* picture, SkBitmap reference) |
: CpuTask(parent) |
- , fPicture(picture) |
+ , fPicture(SkRef(picture)) |
, fReference(reference) |
, fName(UnderJoin(parent.name().c_str(), "skr")) {} |