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

Unified Diff: Source/core/inspector/InspectorFileSystemAgent.cpp

Issue 16904002: Avoid leaking objects between isolated worlds via attribute event listeners (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/inspector/InspectorFileSystemAgent.cpp
diff --git a/Source/core/inspector/InspectorFileSystemAgent.cpp b/Source/core/inspector/InspectorFileSystemAgent.cpp
index 2fb4a94af6cdca7c15a5cf1922653647c454d3d9..8ce0e381c42f48f0e504ee660fc80fa8ae8c95cb 100644
--- a/Source/core/inspector/InspectorFileSystemAgent.cpp
+++ b/Source/core/inspector/InspectorFileSystemAgent.cpp
@@ -492,8 +492,8 @@ bool FileContentRequest::didGetEntry(Entry* entry)
bool FileContentRequest::didGetFile(File* file)
{
RefPtr<Blob> blob = file->slice(m_start, m_end);
- m_reader->setOnload(this);
- m_reader->setOnerror(this);
+ m_reader->setOnload(this, 0);
+ m_reader->setOnerror(this, 0);
m_reader->readAsArrayBuffer(blob.get(), IGNORE_EXCEPTION);
return true;

Powered by Google App Engine
This is Rietveld 408576698