Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: dm/DMReplayTask.cpp

Issue 270543004: DM: Add --skps. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: reed Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMReplayTask.h ('k') | dm/DMSKPTask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMReplayTask.cpp
diff --git a/dm/DMReplayTask.cpp b/dm/DMReplayTask.cpp
index e4a9e4427be1dae2426d9807d7f616ddf565b4a2..a126f2cfe2162cd5b8cea565deaf1d65136c1401 100644
--- a/dm/DMReplayTask.cpp
+++ b/dm/DMReplayTask.cpp
@@ -14,12 +14,12 @@ namespace DM {
ReplayTask::ReplayTask(const Task& parent,
skiagm::GM* gm,
SkBitmap reference,
- bool useRTree)
+ Mode mode)
: CpuTask(parent)
- , fName(UnderJoin(parent.name().c_str(), useRTree ? "rtree" : "replay"))
+ , fUseRTree(mode == kRTree_Mode)
+ , fName(UnderJoin(parent.name().c_str(), fUseRTree ? "rtree" : "replay"))
, fGM(gm)
, fReference(reference)
- , fUseRTree(useRTree)
{}
void ReplayTask::draw() {
« no previous file with comments | « dm/DMReplayTask.h ('k') | dm/DMSKPTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698