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

Unified Diff: dm/DMReplayTask.cpp

Issue 175283002: DM: don't run rtree when kSkipTiled is set. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Quiet down Windows warning. Created 6 years, 10 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 | « no previous file | no next file » | 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 763684a087031fe9ccb98456177729be5ae97a33..3d010358c25776ef2ab4a81e322322ea8a531995 100644
--- a/dm/DMReplayTask.cpp
+++ b/dm/DMReplayTask.cpp
@@ -41,7 +41,7 @@ bool ReplayTask::shouldSkip() const {
}
if (FLAGS_rtree && fUseRTree) {
- return fGM->getFlags() & skiagm::GM::kSkipTiled_Flag;
+ return (fGM->getFlags() & skiagm::GM::kSkipTiled_Flag) != 0;
scroggo 2014/02/21 19:21:28 You don't like SkToBool?
mtklein 2014/02/21 19:28:14 Seemed clearer to test != 0 explicitly since we're
scroggo 2014/02/21 19:29:18 sgtm
}
if (FLAGS_replay && !fUseRTree) {
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698