Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageOrientation.h

Issue 1413593012: Record UMA stats for Blink decoded image orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase patch Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..80d8e90e4de707893226c35c80de18f15d9b91fe 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageOrientation.h
@@ -84,6 +84,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;

Powered by Google App Engine
This is Rietveld 408576698