diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkDeviceProperties.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkDeviceProperties.h b/include/core/SkDeviceProperties.h index fcab9ad5c8..098c925124 100644 --- a/include/core/SkDeviceProperties.h +++ b/include/core/SkDeviceProperties.h @@ -53,10 +53,10 @@ struct SkDeviceProperties { } bool isOrientationKnown() { - return fGeometry & kKnown_Orientation; + return SkToBool(fGeometry & kKnown_Orientation); } bool isLayoutKnown() { - return fGeometry & kKnown_Layout; + return SkToBool(fGeometry & kKnown_Layout); } private: |