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

Side by Side Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp

Issue 2798863003: Rewrite references to "wtf/" to "platform/wtf/" in platform/image-decoders. (Closed)
Patch Set: Remove unused RefPtr.h. Created 3 years, 8 months 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 unified diff | Download patch
OLDNEW
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 <memory>
7 #include "platform/image-decoders/ImageDecoderTestHelpers.h" 8 #include "platform/image-decoders/ImageDecoderTestHelpers.h"
9 #include "platform/wtf/PtrUtil.h"
8 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
9 #include "wtf/PtrUtil.h"
10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 namespace { 14 namespace {
15 15
16 std::unique_ptr<ImageDecoder> createDecoder() { 16 std::unique_ptr<ImageDecoder> createDecoder() {
17 return WTF::wrapUnique( 17 return WTF::wrapUnique(
18 new ICOImageDecoder(ImageDecoder::AlphaNotPremultiplied, 18 new ICOImageDecoder(ImageDecoder::AlphaNotPremultiplied,
19 ColorBehavior::transformToTargetForTesting(), 19 ColorBehavior::transformToTargetForTesting(),
20 ImageDecoder::noDecodedImageByteLimit)); 20 ImageDecoder::noDecodedImageByteLimit));
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 "/LayoutTests/images/resources/icon-without-and-bitmap.ico", 1u, 82 "/LayoutTests/images/resources/icon-without-and-bitmap.ico", 1u,
83 cAnimationNone); 83 cAnimationNone);
84 testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/1bit.ico", 84 testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/1bit.ico",
85 1u, cAnimationNone); 85 1u, cAnimationNone);
86 testByteByByteDecode(&createDecoder, 86 testByteByByteDecode(&createDecoder,
87 "/LayoutTests/images/resources/bug653075.ico", 2u, 87 "/LayoutTests/images/resources/bug653075.ico", 2u,
88 cAnimationNone); 88 cAnimationNone);
89 } 89 }
90 90
91 } // namespace blink 91 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698