Index: Source/modules/geofencing/GeofencingError.cpp |
diff --git a/Source/modules/geofencing/GeofencingError.cpp b/Source/modules/geofencing/GeofencingError.cpp |
index ed53bcd7dc1c00f53571e5b4732eb9d56c90c0da..83fb24098caeb51341b9459d9f055b9febd8751e 100644 |
--- a/Source/modules/geofencing/GeofencingError.cpp |
+++ b/Source/modules/geofencing/GeofencingError.cpp |
@@ -10,13 +10,13 @@ |
namespace blink { |
-DOMException* GeofencingError::take(ScriptPromiseResolver*, PassOwnPtr<WebGeofencingError> webError) |
+DOMException* GeofencingError::take(ScriptPromiseResolver*, const WebGeofencingError& webError) |
{ |
- switch (webError->errorType) { |
+ switch (webError.errorType) { |
case WebGeofencingError::ErrorTypeAbort: |
- return DOMException::create(AbortError, webError->message); |
+ return DOMException::create(AbortError, webError.message); |
case WebGeofencingError::ErrorTypeUnknown: |
- return DOMException::create(UnknownError, webError->message); |
+ return DOMException::create(UnknownError, webError.message); |
} |
ASSERT_NOT_REACHED(); |
return DOMException::create(UnknownError); |