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

Unified Diff: Source/modules/geofencing/GeofencingError.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
« no previous file with comments | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geofencing/GeofencingError.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geofencing/GeofencingError.h
diff --git a/Source/modules/geofencing/GeofencingError.h b/Source/modules/geofencing/GeofencingError.h
index a227b404f16dc5991e582ddccd5a20487302fad6..d64aa02fbb019747e143a05630ed101e2c194c25 100644
--- a/Source/modules/geofencing/GeofencingError.h
+++ b/Source/modules/geofencing/GeofencingError.h
@@ -7,6 +7,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/WebGeofencingError.h"
+#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -18,8 +19,8 @@ class GeofencingError {
WTF_MAKE_NONCOPYABLE(GeofencingError);
public:
// For CallbackPromiseAdapter.
- typedef WebGeofencingError WebType;
- static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebType> webError);
+ using WebType = OwnPtr<WebGeofencingError>;
+ static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebGeofencingError> webError);
private:
GeofencingError() = delete;
« no previous file with comments | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geofencing/GeofencingError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698