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

Unified Diff: Source/modules/geofencing/GeofencingError.cpp

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/geofencing/GeofencingError.cpp
diff --git a/Source/modules/geofencing/GeofencingError.cpp b/Source/modules/geofencing/GeofencingError.cpp
index 9d4a266db445ed4e4bab02cd19961ce9f0d9f09b..ed53bcd7dc1c00f53571e5b4732eb9d56c90c0da 100644
--- a/Source/modules/geofencing/GeofencingError.cpp
+++ b/Source/modules/geofencing/GeofencingError.cpp
@@ -10,12 +10,12 @@
namespace blink {
-DOMException* GeofencingError::take(ScriptPromiseResolver*, PassOwnPtr<WebType> webError)
+DOMException* GeofencingError::take(ScriptPromiseResolver*, PassOwnPtr<WebGeofencingError> webError)
{
switch (webError->errorType) {
- case WebType::ErrorTypeAbort:
+ case WebGeofencingError::ErrorTypeAbort:
return DOMException::create(AbortError, webError->message);
- case WebType::ErrorTypeUnknown:
+ case WebGeofencingError::ErrorTypeUnknown:
return DOMException::create(UnknownError, webError->message);
}
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/modules/geofencing/GeofencingError.h ('k') | Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698