summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/printing_layout_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/printing_layout_uitest.cc')
-rw-r--r--chrome/browser/printing/printing_layout_uitest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc
index a5de41a..c3bfb6b 100644
--- a/chrome/browser/printing/printing_layout_uitest.cc
+++ b/chrome/browser/printing/printing_layout_uitest.cc
@@ -73,7 +73,8 @@ class PrintingLayoutTest : public PrintingTest<UITest> {
FilePath png(verification_file + L".png");
// Looks for Cleartype override.
- if (file_util::PathExists(verification_file + L"_cleartype.png") &&
+ if (file_util::PathExists(
+ FilePath::FromWStringHack(verification_file + L"_cleartype.png")) &&
IsClearTypeEnabled()) {
png = FilePath(verification_file + L"_cleartype.png");
}