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

Unified Diff: Source/modules/cachestorage/CacheStorageError.cpp

Issue 1155573003: CacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix unittests 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/modules/cachestorage/CacheStorage.cpp ('k') | Source/modules/cachestorage/CacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/cachestorage/CacheStorageError.cpp
diff --git a/Source/modules/cachestorage/CacheStorageError.cpp b/Source/modules/cachestorage/CacheStorageError.cpp
index 13ccc6fe670765806c2aeb20e4ab1d0defb096c1..3f74bf6cb3aa62cb6b4469f4d62a6641ca9a6a3e 100644
--- a/Source/modules/cachestorage/CacheStorageError.cpp
+++ b/Source/modules/cachestorage/CacheStorageError.cpp
@@ -19,6 +19,7 @@ DOMException* CacheStorageError::take(ScriptPromiseResolver*, WebType* webErrorR
void CacheStorageError::dispose(WebType* webErrorRaw)
{
+ delete webErrorRaw;
}
DOMException* CacheStorageError::createException(WebType webError)
« no previous file with comments | « Source/modules/cachestorage/CacheStorage.cpp ('k') | Source/modules/cachestorage/CacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698