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

Unified Diff: Source/modules/cachestorage/Cache.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/cachestorage/Cache.h ('k') | Source/modules/cachestorage/CacheStorage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/cachestorage/Cache.cpp
diff --git a/Source/modules/cachestorage/Cache.cpp b/Source/modules/cachestorage/Cache.cpp
index 08ae0584216a38be5ce640e66656af15a4016757..7f04eab49adc51ec1d015fccd997dbc21e09917d 100644
--- a/Source/modules/cachestorage/Cache.cpp
+++ b/Source/modules/cachestorage/Cache.cpp
@@ -202,7 +202,7 @@ public:
m_cache->webCache()->dispatchBatch(new CachePutCallbacks(m_resolver.get()), batchOperations);
cleanup();
}
- void didFail(PassRefPtrWillBeRawPtr<DOMException> exception) override
+ void didFail(DOMException* exception) override
{
ScriptState* state = m_resolver->scriptState();
ScriptState::Scope scope(state);
@@ -374,7 +374,7 @@ ScriptPromise Cache::addAllImpl(ScriptState* scriptState, const Vector<Request*>
return fetchPromise.then(FetchResolvedForAdd::create(scriptState, this, requests[0]));
}
-PassRefPtrWillBeRawPtr<DOMException> Cache::domExceptionForCacheError(WebServiceWorkerCacheError reason)
+DOMException* Cache::domExceptionForCacheError(WebServiceWorkerCacheError reason)
{
switch (reason) {
case WebServiceWorkerCacheErrorNotImplemented:
« no previous file with comments | « Source/modules/cachestorage/Cache.h ('k') | Source/modules/cachestorage/CacheStorage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698