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

Unified Diff: Source/modules/geofencing/GeofencingError.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
« 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 d64aa02fbb019747e143a05630ed101e2c194c25..969c8fe94ed0bc10650b823ec0ec46b2e5ad33de 100644
--- a/Source/modules/geofencing/GeofencingError.h
+++ b/Source/modules/geofencing/GeofencingError.h
@@ -19,8 +19,8 @@ class GeofencingError {
WTF_MAKE_NONCOPYABLE(GeofencingError);
public:
// For CallbackPromiseAdapter.
- using WebType = OwnPtr<WebGeofencingError>;
- static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebGeofencingError> webError);
+ using WebType = const WebGeofencingError&;
+ static DOMException* take(ScriptPromiseResolver*, const 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