From e6984a8c5e742e32d849ce8419bad4f5b8ea3a90 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Tue, 25 Mar 2014 15:49:59 +0000 Subject: [PATCH] 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 --- src/gpu/GrInOrderDrawBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp index 1421af788f..178df7553a 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,