Index: components/image_fetcher/ios/webp_decoder_unittest.mm |
diff --git a/ios/web/public/image_fetcher/webp_decoder_unittest.mm b/components/image_fetcher/ios/webp_decoder_unittest.mm |
similarity index 98% |
rename from ios/web/public/image_fetcher/webp_decoder_unittest.mm |
rename to components/image_fetcher/ios/webp_decoder_unittest.mm |
index 64d767c3f81f99b8b54241b367337d31706b44f1..0ae7b571526009dc42d5fdf406463442f993d1c5 100644 |
--- a/ios/web/public/image_fetcher/webp_decoder_unittest.mm |
+++ b/components/image_fetcher/ios/webp_decoder_unittest.mm |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#import "ios/web/public/image_fetcher/webp_decoder.h" |
+#import "components/image_fetcher/ios/webp_decoder.h" |
#import <CoreGraphics/CoreGraphics.h> |
#import <Foundation/Foundation.h> |
+ |
#include <stddef.h> |
#include <stdint.h> |
@@ -59,8 +60,8 @@ class WebpDecoderTest : public testing::Test { |
NSData* LoadImage(const base::FilePath& filename) { |
base::FilePath path; |
PathService::Get(base::DIR_SOURCE_ROOT, &path); |
- path = |
- path.AppendASCII("ios/web/test/data/webp_transcode").Append(filename); |
+ path = path.AppendASCII("components/test/data/webp_transcode") |
+ .Append(filename); |
return |
[NSData dataWithContentsOfFile:base::SysUTF8ToNSString(path.value())]; |
} |