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 19fc396aebf860881d190bf34a4d10ba46878ae4..63c17411bd619d18bcd2313f96ac4e2fdd7f7609 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
@@ -1084,7 +1084,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(); |