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

Unified Diff: Source/modules/presentation/PresentationError.h

Issue 1234603003: CallbackPromiseAdapter types should be more compatible with WebCallbacks (1/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: retry! Created 5 years, 4 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/presentation/PresentationError.h
diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h
index e785fb057d1ed6924c0f678b1ca3c8e17dc76206..5d91f2fbe51b62ecf6b4a74eadedec029eeb730d 100644
--- a/Source/modules/presentation/PresentationError.h
+++ b/Source/modules/presentation/PresentationError.h
@@ -7,6 +7,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/modules/presentation/WebPresentationError.h"
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -18,7 +19,7 @@ class PresentationError final {
WTF_MAKE_NONCOPYABLE(PresentationError);
public:
// For CallbackPromiseAdapter.
- using WebType = WebPresentationError;
+ using WebType = OwnPtr<WebPresentationError>;
static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebPresentationError>);
« no previous file with comments | « Source/modules/presentation/PresentationAvailability.cpp ('k') | Source/modules/presentation/PresentationSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698