Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 1421af788f37dce601f968f9ff5540aac7b045fc..178df7553a97a6dcfdd2aa62e6d0de829bc223ab 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -132,7 +132,7 @@ static uint8_t strip_trace_bit(uint8_t cmd) { |
} |
static bool cmd_has_trace_marker(uint8_t cmd) { |
- return cmd & kTraceCmdBit; |
+ return SkToBool(cmd & kTraceCmdBit); |
} |
void GrInOrderDrawBuffer::onDrawRect(const SkRect& rect, |