Chromium Code Reviews| 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/graphics/DeferredImageDecoder.h" | 5 #include "platform/graphics/DeferredImageDecoder.h" |
| 6 | 6 |
| 7 #include "platform/SharedBuffer.h" | 7 #include "platform/SharedBuffer.h" |
| 8 #include "platform/image-decoders/ImageDecoderTestHelpers.h" | 8 #include "platform/image-decoders/ImageDecoderTestHelpers.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "third_party/skia/include/core/SkImage.h" | 10 #include "third_party/skia/include/core/SkImage.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 69 mixImages("/LayoutTests/fast/images/resources/webp-animated.webp", 142u, 1u) ; | 69 mixImages("/LayoutTests/fast/images/resources/webp-animated.webp", 142u, 1u) ; |
| 70 } | 70 } |
| 71 | 71 |
| 72 TEST(DeferredImageDecoderTestWoPlatform, mixImagesBmp) | 72 TEST(DeferredImageDecoderTestWoPlatform, mixImagesBmp) |
| 73 { | 73 { |
| 74 mixImages("/LayoutTests/fast/images/resources/lenna.bmp", 122u, 0u); | 74 mixImages("/LayoutTests/fast/images/resources/lenna.bmp", 122u, 0u); |
| 75 } | 75 } |
| 76 | 76 |
| 77 TEST(DeferredImageDecoderTestWoPlatform, mixImagesIco) | 77 TEST(DeferredImageDecoderTestWoPlatform, mixImagesIco) |
| 78 { | 78 { |
| 79 mixImages("/LayoutTests/fast/images/resources/1bit.ico", 70u, 0u); | 79 mixImages("/LayoutTests/fast/images/resources/wrong-frame-dimensions.ico", 1 376u, 1u); |
|
aleksandar.stojiljkovic
2016/06/07 19:12:24
This file corresponds to mixImages test descriptio
scroggo_chromium
2016/06/07 19:22:37
That's not what the mixImages test is about. Notic
Peter Kasting
2016/06/08 23:16:13
Yeah, I think the change to this file should be re
aleksandar.stojiljkovic
2016/06/09 20:34:07
Sorry, I didn't put original response to Leon [1]
| |
| 80 } | 80 } |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| OLD | NEW |