| 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) {
|
|
|