summaryrefslogtreecommitdiffstats
path: root/WebCore/html
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-05-28 11:08:34 +0100
committerBen Murdoch <benm@google.com>2010-06-02 11:22:40 +0100
commit10bcdb2eab81b5b9c893faf90f5bd9f396edeb4a (patch)
tree6a2fd233d940d82cbb96bc1be23b09860af5811d /WebCore/html
parentc05b3a990126a5a1de357c025e25e6acd4e4e185 (diff)
downloadexternal_webkit-10bcdb2eab81b5b9c893faf90f5bd9f396edeb4a.zip
external_webkit-10bcdb2eab81b5b9c893faf90f5bd9f396edeb4a.tar.gz
external_webkit-10bcdb2eab81b5b9c893faf90f5bd9f396edeb4a.tar.bz2
Enable File Reader and blob.slice APIs.
Notes: - the change to WebCore/html/FileStream.cpp is a cherry pick of http://trac.webkit.org/changeset/60325 - the change to WebCore/platform/posix/FileSystemPOSIX.cpp is a cherry pick of http://trac.webkit.org/changeset/60374 - this needs a corresponding frameworks/base change Change-Id: I05d1496e1e95adf1c6a61c6f07bbf62e9bc92820
Diffstat (limited to 'WebCore/html')
-rw-r--r--WebCore/html/FileStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/FileStream.cpp b/WebCore/html/FileStream.cpp
index 7089f61..9a06eed 100644
--- a/WebCore/html/FileStream.cpp
+++ b/WebCore/html/FileStream.cpp
@@ -111,7 +111,7 @@ void FileStream::openForRead(Blob* blob)
if (m_totalBytesToRead == Blob::toEndOfFile)
m_totalBytesToRead = blob->size() - blob->start();
#else
- m_total = blob->size();
+ m_totalBytesToRead = blob->size();
#endif
m_client->didGetSize(m_totalBytesToRead);