Chromium Code Reviews| Index: src/pdf/SkPDFUtils.h |
| diff --git a/src/pdf/SkPDFUtils.h b/src/pdf/SkPDFUtils.h |
| index 4f54db6688b81a3c1baa14018f7cb526ba59aed7..b30821dcd926025062ad3a8c08d1df575a6e1330 100644 |
| --- a/src/pdf/SkPDFUtils.h |
| +++ b/src/pdf/SkPDFUtils.h |
| @@ -27,7 +27,7 @@ class SkWStream; |
| #define NOT_IMPLEMENTED(condition, assert) \ |
| do { \ |
| - if (condition) { \ |
| + if ((bool)(condition)) { \ |
| PRINT_NOT_IMPL("NOT_IMPLEMENTED: " #condition "\n"); \ |
| SkDEBUGCODE(SkASSERT(!assert);) \ |
| } \ |