Index: webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp |
=================================================================== |
--- webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp (revision 29084) |
+++ webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp (working copy) |
@@ -37,7 +37,7 @@ |
class ICOImageDecoderTest : public ImageDecoderTest { |
public: |
- ICOImageDecoderTest() : ImageDecoderTest("ico") { } |
+ ICOImageDecoderTest() : ImageDecoderTest(L"ico") { } |
protected: |
virtual WebCore::ImageDecoder* CreateDecoder() const { |
@@ -59,13 +59,13 @@ |
// Test that the decoder decodes multiple sizes of icons which have them. |
// Load an icon that has both favicon-size and larger entries. |
- FilePath multisize_icon_path(data_dir_.AppendASCII("yahoo.ico")); |
+ std::wstring multisize_icon_path(data_dir_); |
+ file_util::AppendToPath(&multisize_icon_path, L"yahoo.ico"); |
scoped_ptr<WebCore::ImageDecoder> decoder(SetupDecoder(multisize_icon_path, |
false)); |
// Verify the decoding. |
- const FilePath md5_sum_path( |
- GetMD5SumPath(multisize_icon_path).value() + FILE_PATH_LITERAL("2")); |
+ const std::wstring md5_sum_path(GetMD5SumPath(multisize_icon_path) + L"2"); |
static const int kDesiredFrameIndex = 3; |
#ifdef CALCULATE_MD5_SUMS |
SaveMD5Sum(md5_sum_path, decoder->frameBufferAtIndex(kDesiredFrameIndex)); |