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

Unified Diff: Source/modules/filesystem/InspectorFileSystemAgent.cpp

Issue 184473002: Sync Blob.close() behavior wrt updated spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 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 | « Source/core/fileapi/File.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/InspectorFileSystemAgent.cpp
diff --git a/Source/modules/filesystem/InspectorFileSystemAgent.cpp b/Source/modules/filesystem/InspectorFileSystemAgent.cpp
index 86d2083c322cac212e570912a4cd81dd8aecf754..2b60ead307615afee60f723c159b378efbc0ff51 100644
--- a/Source/modules/filesystem/InspectorFileSystemAgent.cpp
+++ b/Source/modules/filesystem/InspectorFileSystemAgent.cpp
@@ -471,7 +471,7 @@ bool FileContentRequest::didGetEntry(Entry* entry)
bool FileContentRequest::didGetFile(File* file)
{
- RefPtrWillBeRawPtr<Blob> blob = file->slice(m_start, m_end);
+ RefPtrWillBeRawPtr<Blob> blob = static_cast<Blob*>(file)->slice(m_start, m_end, IGNORE_EXCEPTION);
m_reader->setOnload(this);
m_reader->setOnerror(this);
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698