Index: dm/DMRecordTask.h |
diff --git a/dm/DMSerializeTask.h b/dm/DMRecordTask.h |
similarity index 54% |
copy from dm/DMSerializeTask.h |
copy to dm/DMRecordTask.h |
index 1f8b83632bbb7a708e20c6c82564f39a03f6ac11..7efd951e0f37ca96ad5ab8eab899f306bf943150 100644 |
--- a/dm/DMSerializeTask.h |
+++ b/dm/DMRecordTask.h |
@@ -1,5 +1,5 @@ |
-#ifndef DMSerializeTask_DEFINED |
-#define DMSerializeTask_DEFINED |
+#ifndef DMRecordTask_DEFINED |
+#define DMRecordTask_DEFINED |
#include "DMTask.h" |
#include "SkBitmap.h" |
@@ -7,16 +7,14 @@ |
#include "SkTemplates.h" |
#include "gm.h" |
-// Record a picture, serialize it, deserialize it, then draw it and compare to reference bitmap. |
+// Records a GM through an SkRecord, draws it, and compares against the reference bitmap. |
namespace DM { |
-class SerializeTask : public CpuTask { |
+class RecordTask : public CpuTask { |
public: |
- SerializeTask(const Task& parent, |
- skiagm::GM*, |
- SkBitmap reference); |
+ RecordTask(const Task& parent, skiagm::GM*, SkBitmap reference); |
virtual void draw() SK_OVERRIDE; |
virtual bool shouldSkip() const SK_OVERRIDE; |
@@ -30,4 +28,4 @@ private: |
} // namespace DM |
-#endif // DMSerializeTask_DEFINED |
+#endif // DMRecordTask_DEFINED |