Fix for int to bool in GrInOrderDrawBuffer
NOTREECHECK=True NOTRY=True R=bsalomon@google.com TBR=bsalomon@google.com BUG=skia: Author: egdaniel@google.com Review URL: https://codereview.chromium.org/207553006 git-svn-id: http://skia.googlecode.com/svn/trunk@13938 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
b0a6578c7f
commit
e6984a8c5e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user