Index: extensions/common/permissions/socket_permission_data.cc |
diff --git a/extensions/common/permissions/socket_permission_data.cc b/extensions/common/permissions/socket_permission_data.cc |
index e4dbbdcc5607e9af688b5ae7dfd157223b5f264c..1616a1032a5a094da94b4018b362441fc61380e7 100644 |
--- a/extensions/common/permissions/socket_permission_data.cc |
+++ b/extensions/common/permissions/socket_permission_data.cc |
@@ -103,7 +103,7 @@ bool SocketPermissionData::Check(const APIPermission::CheckParam* param) const { |
} |
std::unique_ptr<base::Value> SocketPermissionData::ToValue() const { |
- return std::unique_ptr<base::Value>(new base::StringValue(GetAsString())); |
+ return std::unique_ptr<base::Value>(new base::Value(GetAsString())); |
} |
bool SocketPermissionData::FromValue(const base::Value* value) { |