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

Unified Diff: Source/modules/fetch/Body.cpp

Issue 1179733009: Always enable Oilpan for EventSource. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: msvc compile fix Created 5 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
« no previous file with comments | « Source/core/page/EventSource.idl ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Body.cpp
diff --git a/Source/modules/fetch/Body.cpp b/Source/modules/fetch/Body.cpp
index 0be313e412339d2df44a9ff3303435e9b7786011..739a7cb004f953289c68f650e6c7081af3d0f8d1 100644
--- a/Source/modules/fetch/Body.cpp
+++ b/Source/modules/fetch/Body.cpp
@@ -191,7 +191,7 @@ private:
return onClose();
} else {
FileReaderLoader::ReadType readType = FileReaderLoader::ReadAsArrayBuffer;
- m_loader = adoptPtr(new FileReaderLoader(readType, this));
+ m_loader = FileReaderLoader::create(readType, this);
m_loader->start(executionContext(), m_blobDataHandle);
}
}
@@ -391,7 +391,7 @@ void Body::readAsyncFromBlob(PassRefPtr<BlobDataHandle> handle)
ASSERT_NOT_REACHED();
}
- m_loader = adoptPtr(new FileReaderLoader(readType, this));
+ m_loader = FileReaderLoader::create(readType, this);
m_loader->start(m_resolver->scriptState()->executionContext(), blobHandle);
return;
« no previous file with comments | « Source/core/page/EventSource.idl ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698