Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4026)

Unified Diff: WebCore/html/FileReader.cpp

Issue 1769002: BlobBuilder/FormData refactor attempt (Closed)
Patch Set: back to simple FormData Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/html/File.cpp ('k') | WebCore/html/FileStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/html/FileReader.cpp
diff --git a/WebCore/html/FileReader.cpp b/WebCore/html/FileReader.cpp
index 34423422758127bed773872c4ff31fa01dfac4e4..2e020c113505ccb6f443a8d256b0e9a1bab08034 100644
--- a/WebCore/html/FileReader.cpp
+++ b/WebCore/html/FileReader.cpp
@@ -85,6 +85,7 @@ void FileReader::stop()
void FileReader::readAsBinaryString(Blob* fileBlob)
{
+ // FIXME: needs to handle non-file blobs.
LOG(FileAPI, "FileReader: reading as binary: %s\n", fileBlob->path().utf8().data());
readInternal(fileBlob, ReadFileAsBinaryString);
@@ -92,6 +93,7 @@ void FileReader::readAsBinaryString(Blob* fileBlob)
void FileReader::readAsText(Blob* fileBlob, const String& encoding)
{
+ // FIXME: needs to handle non-file blobs.
LOG(FileAPI, "FileReader: reading as text: %s\n", fileBlob->path().utf8().data());
if (!encoding.isEmpty())
« no previous file with comments | « WebCore/html/File.cpp ('k') | WebCore/html/FileStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698