Index: include/core/SkDeviceProperties.h |
=================================================================== |
--- include/core/SkDeviceProperties.h (revision 9015) |
+++ include/core/SkDeviceProperties.h (working copy) |
@@ -46,10 +46,10 @@ |
}; |
Orientation getOrientation() { |
- return static_cast<Orientation>(fGeometry | kOrientationMask); |
+ return static_cast<Orientation>(fGeometry & kOrientationMask); |
} |
Layout getLayout() { |
- return static_cast<Layout>(fGeometry | kLayoutMask); |
+ return static_cast<Layout>(fGeometry & kLayoutMask); |
} |
bool isOrientationKnown() { |