| Index: chrome/browser/printing/printing_layout_browsertest.cc
|
| diff --git a/chrome/browser/printing/printing_layout_browsertest.cc b/chrome/browser/printing/printing_layout_browsertest.cc
|
| index 4e1d2b731d83b59285968ef918efe9c1097c8305..4755a18a00755499607662a581d2fce834187c57 100644
|
| --- a/chrome/browser/printing/printing_layout_browsertest.cc
|
| +++ b/chrome/browser/printing/printing_layout_browsertest.cc
|
| @@ -207,7 +207,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
|
| base::FilePath file;
|
| while (!(file = enumerator.Next()).empty()) {
|
| std::wstring ext = file.Extension();
|
| - if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".emf") == 0) {
|
| + if (base::EqualsCaseInsensitiveASCII(base::WideToUTF8(ext), ".emf")) {
|
| EXPECT_FALSE(found_emf) << "Found a leftover .EMF file: \"" <<
|
| emf_file << "\" and \"" << file.value() <<
|
| "\" when looking for \"" << verification_name << "\"";
|
| @@ -215,7 +215,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
|
| emf_file = file.value();
|
| continue;
|
| }
|
| - if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".prn") == 0) {
|
| + if (base::EqualsCaseInsensitiveASCII(base::WideToUTF8(ext), ".prn")) {
|
| EXPECT_FALSE(found_prn) << "Found a leftover .PRN file: \"" <<
|
| prn_file << "\" and \"" << file.value() <<
|
| "\" when looking for \"" << verification_name << "\"";
|
|
|