summaryrefslogtreecommitdiffstats
path: root/WebCore/html/FileReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/FileReader.cpp')
-rw-r--r--WebCore/html/FileReader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/html/FileReader.cpp b/WebCore/html/FileReader.cpp
index e99fdc4..d600d40 100644
--- a/WebCore/html/FileReader.cpp
+++ b/WebCore/html/FileReader.cpp
@@ -189,10 +189,10 @@ void FileReader::didGetSize(long long size)
m_streamProxy->openForRead(m_fileBlob->path(), start, m_totalBytes);
}
-void FileReader::didOpen(ExceptionCode ec)
+void FileReader::didOpen(bool success)
{
- if (ec) {
- didFail(ec);
+ if (!success) {
+ didFail(NOT_READABLE_ERR);
return;
}