diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-22 19:49:33 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-22 19:49:33 +0000 |
commit | ba3284e7bbb830749206414890f8152e421969f2 (patch) | |
tree | 5b22cc6b39c37452e13a38c83a5b5ed96ed007c7 /include | |
parent | dd4b74548accfbf42b8e6b8d7eefbfb8c8f17e00 (diff) |
Fix VC++ warning and Android only code for 7317.
git-svn-id: http://skia.googlecode.com/svn/trunk@7319 2bbb7eff-a529-9590-31e7-b0007b416f81
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: |