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

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

Issue 1240763002: CallbackPromiseAdapter types should be more compatible with WebCallbacks (3/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/PresentationAvailability.h
diff --git a/Source/modules/presentation/PresentationAvailability.h b/Source/modules/presentation/PresentationAvailability.h
index c05294f1c6ef33b5cd570dd1f4209b676f7e0c41..4489679bb098aecf8f4c4ae631bf99bcf74c4522 100644
--- a/Source/modules/presentation/PresentationAvailability.h
+++ b/Source/modules/presentation/PresentationAvailability.h
@@ -29,9 +29,9 @@ class PresentationAvailability final
DEFINE_WRAPPERTYPEINFO();
public:
// For CallbackPromiseAdapter.
- using WebType = OwnPtr<bool>;
+ using WebType = bool;
- static PresentationAvailability* take(ScriptPromiseResolver*, PassOwnPtr<bool>);
+ static PresentationAvailability* take(ScriptPromiseResolver*, bool);
~PresentationAvailability() override;
// EventTarget implementation.

Powered by Google App Engine
This is Rietveld 408576698