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

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

Issue 1413593012: Record UMA stats for Blink decoded image orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix histograms.xml 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.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageOrientation.cpp b/third_party/WebKit/Source/platform/graphics/ImageOrientation.cpp
index 93e46447fea1a8c5e1f1342f26570df93eac10b1..c78ca06adf55519eb007fe80af2fdadbe5fb76e3 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageOrientation.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageOrientation.cpp
@@ -53,6 +53,8 @@ AffineTransform ImageOrientation::transformFromDefault(const FloatSize& drawnSiz
return AffineTransform( 0, -1, -1, 0, w, h);
case OriginLeftBottom:
return AffineTransform( 0, -1, 1, 0, 0, h);
+ default:
+ ASSERT_NOT_REACHED();
}
ASSERT_NOT_REACHED();
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ImageOrientation.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698