Index: Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/Source/modules/bluetooth/BluetoothError.cpp b/Source/modules/bluetooth/BluetoothError.cpp |
index 7659ff96400a868d3081ca5439e4f224f55b4973..bcd4671d0339e8d28e9625925a5203b00a62244d 100644 |
--- a/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/Source/modules/bluetooth/BluetoothError.cpp |
@@ -10,9 +10,9 @@ |
namespace blink { |
-DOMException* BluetoothError::take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothError> webError) |
+DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothError& webError) |
{ |
- switch (*webError) { |
+ switch (webError) { |
#define MAP_ERROR(enumeration, name, message) \ |
case WebBluetoothError::enumeration: \ |
return DOMException::create(name, message) |