Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
index 5a5304077c08138aa57e76dfbf3cb6928de787fa..a9fea2fdc7cc049f12c24736bc6597d0c252e6e3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
@@ -1086,7 +1086,7 @@ String LayoutThemeMac::fileListNameForWidth(Locale& locale, const FileList* file |
strToTruncate = locale.queryString(WebLocalizedString::FileButtonNoFileSelectedLabel); |
} else if (fileList->length() == 1) { |
File* file = fileList->item(0); |
- if (file->userVisibility() == File::IsUserVisible) |
+ if (file->getUserVisibility() == File::IsUserVisible) |
strToTruncate = [[NSFileManager defaultManager] displayNameAtPath:(fileList->item(0)->path())]; |
else |
strToTruncate = file->name(); |