aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-01-31 11:33:11 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-31 17:02:21 +0000
commit4427f165d792a93649e2b2673d3d8b89a35e8186 (patch)
tree93c3bbeaaa4b81d4b746b13ab5575c999bdfe81c
parent1a8b79a79e8aa6d4723588fd1125cb3b08886af8 (diff)
Fix assert in SkShadowVertices constructor
Change-Id: Icedbe70079d41234c98330af64d71a4e60b67f1c Reviewed-on: https://skia-review.googlesource.com/7796 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
-rwxr-xr-xsrc/utils/SkShadowTessellator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkShadowTessellator.h b/src/utils/SkShadowTessellator.h
index 301b684267..63e7bdc4c5 100755
--- a/src/utils/SkShadowTessellator.h
+++ b/src/utils/SkShadowTessellator.h
@@ -56,7 +56,7 @@ private:
, fPositions(std::move(positions))
, fColors(std::move(colors))
, fIndices(std::move(indices)) {
- SkASSERT(SkToBool(indices) == SkToBool(indexCnt));
+ SkASSERT(SkToBool(fIndices) == SkToBool(indexCnt));
}
int fVertexCnt;