diff options
Diffstat (limited to 'WebCore/platform/android/FileSystemAndroid.cpp')
-rw-r--r-- | WebCore/platform/android/FileSystemAndroid.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/WebCore/platform/android/FileSystemAndroid.cpp b/WebCore/platform/android/FileSystemAndroid.cpp index 8a9777d..3d841d7 100644 --- a/WebCore/platform/android/FileSystemAndroid.cpp +++ b/WebCore/platform/android/FileSystemAndroid.cpp @@ -75,20 +75,6 @@ bool unloadModule(PlatformModule module) return !dlclose(module); } -int writeToFile(PlatformFileHandle handle, const char* data, int length) -{ - int totalBytesWritten = 0; - while (totalBytesWritten < length) { - int bytesWritten = write(handle, data, (size_t)(length - totalBytesWritten)); - if (bytesWritten < 0 && errno != EINTR) - return -1; - if (bytesWritten > 0) - totalBytesWritten += bytesWritten; - } - - return totalBytesWritten; -} - String homeDirectoryPath() { return sPluginPath; |