| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/image-decoders/ico/ICOImageDecoder.h" | 5 #include "platform/image-decoders/ico/ICOImageDecoder.h" |
| 6 | 6 |
| 7 #include "platform/image-decoders/ImageDecoderTestHelpers.h" | 7 #include "platform/image-decoders/ImageDecoderTestHelpers.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "wtf/PtrUtil.h" | 9 #include "wtf/PtrUtil.h" |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 testByteByByteDecode( | 28 testByteByByteDecode( |
| 29 &createDecoder, "/LayoutTests/fast/images/resources/greenbox-3frames.cur", | 29 &createDecoder, "/LayoutTests/fast/images/resources/greenbox-3frames.cur", |
| 30 3u, cAnimationNone); | 30 3u, cAnimationNone); |
| 31 testByteByByteDecode( | 31 testByteByByteDecode( |
| 32 &createDecoder, | 32 &createDecoder, |
| 33 "/LayoutTests/fast/images/resources/icon-without-and-bitmap.ico", 1u, | 33 "/LayoutTests/fast/images/resources/icon-without-and-bitmap.ico", 1u, |
| 34 cAnimationNone); | 34 cAnimationNone); |
| 35 testByteByByteDecode(&createDecoder, | 35 testByteByByteDecode(&createDecoder, |
| 36 "/LayoutTests/fast/images/resources/1bit.ico", 1u, | 36 "/LayoutTests/fast/images/resources/1bit.ico", 1u, |
| 37 cAnimationNone); | 37 cAnimationNone); |
| 38 testByteByByteDecode(&createDecoder, |
| 39 "/LayoutTests/fast/images/resources/bug653075.ico", 2u, |
| 40 cAnimationNone); |
| 38 } | 41 } |
| 39 | 42 |
| 40 } // namespace blink | 43 } // namespace blink |
| OLD | NEW |