Index: Source/modules/presentation/PresentationError.h |
diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h |
index 5d91f2fbe51b62ecf6b4a74eadedec029eeb730d..5904f23f440b12217a844580ad26f861269d4f11 100644 |
--- a/Source/modules/presentation/PresentationError.h |
+++ b/Source/modules/presentation/PresentationError.h |
@@ -7,7 +7,6 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/presentation/WebPresentationError.h" |
-#include "wtf/OwnPtr.h" |
namespace blink { |
@@ -19,9 +18,9 @@ class PresentationError final { |
WTF_MAKE_NONCOPYABLE(PresentationError); |
public: |
// For CallbackPromiseAdapter. |
- using WebType = OwnPtr<WebPresentationError>; |
+ using WebType = const WebPresentationError&; |
- static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebPresentationError>); |
+ static DOMException* take(ScriptPromiseResolver*, const WebPresentationError&); |
private: |
PresentationError() = delete; |