| Index: third_party/WebKit/Source/platform/graphics/ImageOrientation.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageOrientation.h b/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
|
| index a73df6d603f25173cf86ddcb9b4e00474c50ded2..98b06db548611f0055fa99176a387b0d08eb9f85 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
|
| @@ -47,6 +47,7 @@ enum ImageOrientationEnum {
|
| OriginLeftBottom = 8, // 270 degree CW rotation
|
| // All other values are "reserved" as of EXIF 2.2
|
| DefaultImageOrientation = OriginTopLeft,
|
| + ImageOrientationEnumEnd = OriginLeftBottom + 1,
|
| };
|
|
|
| enum RespectImageOrientationEnum {
|
| @@ -84,6 +85,8 @@ public:
|
| inline bool operator==(const ImageOrientation& other) const { return other.m_orientation == m_orientation; }
|
| inline bool operator!=(const ImageOrientation& other) const { return !(*this == other); }
|
|
|
| + ImageOrientationEnum orientation() const { return m_orientation; }
|
| +
|
| private:
|
| // FIXME: This only needs to be one byte.
|
| ImageOrientationEnum m_orientation;
|
|
|