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

Unified Diff: Source/core/fileapi/FileReaderSync.cpp

Issue 26435003: WebCore blob hacking (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
Index: Source/core/fileapi/FileReaderSync.cpp
diff --git a/Source/core/fileapi/FileReaderSync.cpp b/Source/core/fileapi/FileReaderSync.cpp
index 9fc6dd5d9970bedebd3a42d5be5e2852a4a5ee38..04f777ac765732409ae5e6a0c05712fbba33b395 100644
--- a/Source/core/fileapi/FileReaderSync.cpp
+++ b/Source/core/fileapi/FileReaderSync.cpp
@@ -99,7 +99,7 @@ String FileReaderSync::readAsDataURL(ScriptExecutionContext* scriptExecutionCont
void FileReaderSync::startLoading(ScriptExecutionContext* scriptExecutionContext, FileReaderLoader& loader, const Blob& blob, ExceptionState& es)
{
- loader.start(scriptExecutionContext, blob);
+ loader.start(scriptExecutionContext, blob.blobDataHandle());
if (loader.errorCode())
FileError::throwDOMException(es, loader.errorCode());
}

Powered by Google App Engine
This is Rietveld 408576698