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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerError.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
Index: Source/modules/serviceworkers/ServiceWorkerError.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerError.cpp b/Source/modules/serviceworkers/ServiceWorkerError.cpp
index 09f735fdf02bf740818d7c82e5e0c73fb18e2c84..7a9ece777e56225fd79f66275ef8d2ab5f97f7f4 100644
--- a/Source/modules/serviceworkers/ServiceWorkerError.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerError.cpp
@@ -31,20 +31,20 @@
#include "config.h"
#include "ServiceWorkerError.h"
+#include "core/dom/DOMException.h"
#include "core/dom/ExceptionCode.h"
using blink::WebServiceWorkerError;
namespace blink {
-static PassRefPtrWillBeRawPtr<DOMException> createException(
- ExceptionCode code, const String& defaultMessage, const String& message)
+static DOMException* createException(ExceptionCode code, const String& defaultMessage, const String& message)
{
return DOMException::create(code, message.isEmpty() ? defaultMessage : message);
}
// static
-PassRefPtrWillBeRawPtr<DOMException> ServiceWorkerError::take(ScriptPromiseResolver*, WebType* webErrorRaw)
+DOMException* ServiceWorkerError::take(ScriptPromiseResolver*, WebType* webErrorRaw)
{
OwnPtr<WebType> webError = adoptPtr(webErrorRaw);
switch (webError->errorType) {
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerError.h ('k') | Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698