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

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

Issue 1107793002: Oilpan: have DOMException be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/modules/fetch/Body.h ('k') | Source/modules/fetch/BodyStreamBuffer.h » ('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 d104acf4ff99c8816efb80195338ce87da7bf2d8..0be313e412339d2df44a9ff3303435e9b7786011 100644
--- a/Source/modules/fetch/Body.cpp
+++ b/Source/modules/fetch/Body.cpp
@@ -35,7 +35,7 @@ public:
m_body->readAsyncFromBlob(handle);
m_body = nullptr;
}
- void didFail(PassRefPtrWillBeRawPtr<DOMException> exception) override
+ void didFail(DOMException* exception) override
{
ASSERT(m_body);
m_body->didBlobHandleReceiveError(exception);
@@ -261,7 +261,7 @@ private:
}
}
- PassRefPtrWillBeRawPtr<DOMException> exception()
+ DOMException* exception()
{
if (m_state != Errored)
return nullptr;
@@ -585,7 +585,7 @@ void Body::didFail(FileError::ErrorCode code)
}
}
-void Body::didBlobHandleReceiveError(PassRefPtrWillBeRawPtr<DOMException> exception)
+void Body::didBlobHandleReceiveError(DOMException* exception)
{
if (!m_resolver)
return;
« no previous file with comments | « Source/modules/fetch/Body.h ('k') | Source/modules/fetch/BodyStreamBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698