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

Unified Diff: chrome/common/zip_unittest.cc

Issue 6246036: FilePath: Remove most of ToWStringHack, adding a LossyDisplayName() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/zip_unittest.cc
diff --git a/chrome/common/zip_unittest.cc b/chrome/common/zip_unittest.cc
index afb50c0154ca472e34de17c891040681a5cdfdc7..8436d5ee57566a972b16fa9148377c8082087741 100644
--- a/chrome/common/zip_unittest.cc
+++ b/chrome/common/zip_unittest.cc
@@ -71,7 +71,7 @@ class ZipTest : public PlatformTest {
size_t expected_count = 0;
for (std::set<FilePath>::iterator iter = zip_contents_.begin();
iter != zip_contents_.end(); ++iter) {
- if (expect_hidden_files || iter->BaseName().ToWStringHack()[0] != L'.')
+ if (expect_hidden_files || iter->BaseName().value()[0] != L'.')
++expected_count;
}

Powered by Google App Engine
This is Rietveld 408576698