Chromium Code Reviews| Index: Source/platform/image-decoders/ico/ICOImageDecoder.h |
| diff --git a/Source/platform/image-decoders/ico/ICOImageDecoder.h b/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| index 93278863c3ad3c8e155070a1aeb4698a555d0a67..a30e9336755b4e8a3b1a7693995df29be93da49b 100644 |
| --- a/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| +++ b/Source/platform/image-decoders/ico/ICOImageDecoder.h |
| @@ -79,7 +79,11 @@ private: |
| static bool compareEntries(const IconDirectoryEntry& a, const IconDirectoryEntry& b); |
| // ImageDecoder: |
| - virtual void decodeSize() { decode(0, true); } |
| + virtual void decodeSize() |
| + { |
| + decode(0, true); |
| + reportStats(ImageICO); |
|
Noel Gordon
2015/07/30 18:11:47
Considering that each ICO decoder has one or more
urvang
2015/07/30 18:52:36
Ah good point, thanks!
|
| + } |
| size_t decodeFrameCount() override; |
| void decode(size_t index) override { decode(index, false); } |