aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTaskGroup2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkTaskGroup2D.cpp')
-rw-r--r--src/core/SkTaskGroup2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkTaskGroup2D.cpp b/src/core/SkTaskGroup2D.cpp
index 4060527bcb..32bbf8650a 100644
--- a/src/core/SkTaskGroup2D.cpp
+++ b/src/core/SkTaskGroup2D.cpp
@@ -51,7 +51,7 @@ void SkFlexibleTaskGroup2D::work(int threadId) {
// Only keep fHeight - numRowsCompleted number of threads looping. When rows are about to
// complete, this strategy keeps the contention low.
- while (threadId >= numRowsCompleted) {
+ while (threadId < fHeight - numRowsCompleted) {
RowData& rowData = fRowData[row];
// The Android roller somehow gets a false-positive compile warning/error about the try-lock