Index: components/feedback/feedback_data.cc |
diff --git a/components/feedback/feedback_data.cc b/components/feedback/feedback_data.cc |
index 42e4b9f99ffb6f187df46679a27ae0ef2145fc55..3abe1cfc95472be3fe4808556df39454570c5871 100644 |
--- a/components/feedback/feedback_data.cc |
+++ b/components/feedback/feedback_data.cc |
@@ -92,11 +92,8 @@ void FeedbackData::AttachAndCompressFileData( |
if (!attached_filedata.get() || attached_filedata->empty()) |
return; |
++pending_op_count_; |
-#if defined(OS_WIN) |
- base::FilePath attached_file(base::UTF8ToWide(attached_filename_)); |
-#else |
- base::FilePath attached_file(attached_filename_); |
-#endif |
+ base::FilePath attached_file = |
+ base::FilePath::FromUTF8Unsafe(attached_filename_); |
BrowserThread::PostBlockingPoolTaskAndReply( |
FROM_HERE, |
base::Bind(&FeedbackCommon::CompressFile, |