Index: extensions/browser/api/device_permissions_manager.cc |
diff --git a/extensions/browser/api/device_permissions_manager.cc b/extensions/browser/api/device_permissions_manager.cc |
index 38b2c7645e45a8715e5ed9f12071498a822c8fe0..fc33617ed2cb435299f2c53b3f89945a8c9aedee 100644 |
--- a/extensions/browser/api/device_permissions_manager.cc |
+++ b/extensions/browser/api/device_permissions_manager.cc |
@@ -151,7 +151,7 @@ void UpdateDevicePermissionEntry(BrowserContext* context, |
if (!MatchesDevicePermissionEntry(dict_value, entry)) { |
continue; |
} |
- devices->Set(i, entry->ToValue().release()); |
+ devices->Set(i, entry->ToValue()); |
break; |
} |
} |