Index: snapshot/crashpad_info_client_options_test.cc |
diff --git a/snapshot/crashpad_info_client_options_test.cc b/snapshot/crashpad_info_client_options_test.cc |
index 2b13b6b2223b7f2fe6319e3678273a053d65a310..acdc3257c58de96f07ee359a4f68d258439fa81c 100644 |
--- a/snapshot/crashpad_info_client_options_test.cc |
+++ b/snapshot/crashpad_info_client_options_test.cc |
@@ -15,6 +15,7 @@ |
#include "snapshot/crashpad_info_client_options.h" |
#include "base/files/file_path.h" |
+#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
#include "client/crashpad_info.h" |
#include "gtest/gtest.h" |
@@ -167,9 +168,9 @@ TEST(CrashpadInfoClientOptions, TwoModules) { |
<< dlerror(); |
#elif defined(OS_WIN) |
ScopedDlHandle dl_handle(LoadLibrary(module_path.value().c_str())); |
- ASSERT_TRUE(dl_handle.valid()) << "LoadLibrary " |
- << module_path.value().c_str() << ": " |
- << ErrorMessage(); |
+ ASSERT_TRUE(dl_handle.valid()) |
+ << "LoadLibrary " << base::UTF16ToUTF8(module_path.value()) << ": " |
+ << ErrorMessage(); |
#else |
#error Port. |
#endif // OS_MACOSX |