summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/localized_strings.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/localized_strings.cc b/webkit/glue/localized_strings.cc
index 1d85676..10fe480 100644
--- a/webkit/glue/localized_strings.cc
+++ b/webkit/glue/localized_strings.cc
@@ -124,12 +124,14 @@ String WebCore::unknownFileSizeText() {
}
// These two are used in FileChooserWin.cpp.
+#if PLATFORM(WIN)
String WebCore::uploadFileText() {
return String();
}
String WebCore::allFilesText() {
return String();
}
+#endif
// The following two functions are not declared in LocalizedStrings.h.
// They are used by the menu for the HTML keygen tag.
@@ -142,7 +144,7 @@ String keygenMenuMediumGradeKeySize() {
}
// Used in ImageDocument.cpp as the title for pages when that page is an image.
-String WebCore::imageTitle(const String& filename, const IntSize& size) {
+String imageTitle(const String& filename, const IntSize& size) {
// C3 97 is UTF-8 for U+00D7 (multiplication sign).
std::string size_str = StringPrintf(" (%d\xC3\x97%d)",
size.width(), size.height());