| Index: Source/modules/presentation/PresentationError.cpp
|
| diff --git a/Source/modules/presentation/PresentationError.cpp b/Source/modules/presentation/PresentationError.cpp
|
| index bc7ecba5bb6b8e5885d6fef3f822da9b469af4c4..362fe5a76301f4fed89479d54742848cf25251cf 100644
|
| --- a/Source/modules/presentation/PresentationError.cpp
|
| +++ b/Source/modules/presentation/PresentationError.cpp
|
| @@ -13,10 +13,10 @@
|
| namespace blink {
|
|
|
| // static
|
| -DOMException* PresentationError::take(ScriptPromiseResolver*, PassOwnPtr<WebPresentationError> error)
|
| +DOMException* PresentationError::take(ScriptPromiseResolver*, const WebPresentationError& error)
|
| {
|
| ExceptionCode code = UnknownError;
|
| - switch (error->errorType) {
|
| + switch (error.errorType) {
|
| case WebPresentationError::ErrorTypeNoAvailableScreens:
|
| case WebPresentationError::ErrorTypeNoPresentationFound:
|
| code = NotFoundError;
|
| @@ -32,7 +32,7 @@ DOMException* PresentationError::take(ScriptPromiseResolver*, PassOwnPtr<WebPres
|
| break;
|
| }
|
|
|
| - return DOMException::create(code, error->message);
|
| + return DOMException::create(code, error.message);
|
| }
|
|
|
| } // namespace blink
|
|
|