Index: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
index 2eb04ee146c4b639b00126f061ddef858ea2b9e4..4d9ec88233bc7cdbd61f27167a78a0b505d28542 100644 |
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
@@ -167,6 +167,7 @@ void BitmapImage::cacheFrame(size_t index) |
m_frames[index].m_frame = m_source.createFrameAtIndex(index); |
m_frames[index].m_orientation = m_source.orientationAtIndex(index); |
+ Platform::current()->histogramEnumeration("Blink.DecodedImageOrientation", m_frames[index].m_orientation.orientation(), OriginLeftBottom + 1); |
Noel Gordon
2015/11/10 01:14:56
The actual image orientation is not known until is
|
m_frames[index].m_haveMetadata = true; |
m_frames[index].m_isComplete = m_source.frameIsCompleteAtIndex(index); |
if (repetitionCount(false) != cAnimationNone) |