summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/android/FileChooserAndroid.cpp4
-rw-r--r--WebCore/platform/android/TemporaryLinkStubs.cpp12
2 files changed, 2 insertions, 14 deletions
diff --git a/WebCore/platform/android/FileChooserAndroid.cpp b/WebCore/platform/android/FileChooserAndroid.cpp
index ec1b758..d54c809 100644
--- a/WebCore/platform/android/FileChooserAndroid.cpp
+++ b/WebCore/platform/android/FileChooserAndroid.cpp
@@ -38,7 +38,7 @@ String FileChooser::basenameForWidth(const Font& font, int width) const
// often be much longer than the provided width, this may be fast enough.
String output = m_filenames[0].copy();
while (font.width(TextRun(output.impl())) > width && output.length() > 4) {
- output = output.replace(output.length() - 4, 4, String("..."));
+ output = output.replace(0, 4, String("..."));
}
return output;
}
@@ -49,7 +49,7 @@ String FileChooser::basenameForWidth(const Font& font, int width) const
// second string is rendered on the screen when no file has been selected.
String fileButtonChooseFileLabel()
{
- return String("Uploads Disabled");
+ return String("Upload a file");
}
String fileButtonNoFileSelectedLabel()
diff --git a/WebCore/platform/android/TemporaryLinkStubs.cpp b/WebCore/platform/android/TemporaryLinkStubs.cpp
index 33344ed..39c0bb7 100644
--- a/WebCore/platform/android/TemporaryLinkStubs.cpp
+++ b/WebCore/platform/android/TemporaryLinkStubs.cpp
@@ -46,7 +46,6 @@
#include "EditCommand.h"
#include "Editor.h"
#include "File.h"
-#include "FileList.h"
#include "Font.h"
#include "Frame.h"
#include "FrameLoader.h"
@@ -506,17 +505,6 @@ ScrollbarTheme* ScrollbarTheme::nativeTheme()
} // namespace WebCore
-FileList::FileList()
-{
- notImplemented();
-}
-
-File* FileList::item(unsigned index) const
-{
- notImplemented();
- return 0;
-}
-
AXObjectCache::~AXObjectCache()
{
notImplemented();