IPC: Take the number of domain objects as a parameter in MakeBuilder.

This commit is contained in:
Subv 2018-01-07 09:59:38 -05:00 committed by bunnei
parent 5f41477f9c
commit ba2ffd7b81
2 changed files with 6 additions and 4 deletions

View file

@ -205,12 +205,14 @@ public:
}
RequestBuilder MakeBuilder(u32 normal_params_size, u32 num_handles_to_copy,
u32 num_handles_to_move, bool validate_header = true) {
u32 num_handles_to_move, u32 num_domain_objects,
bool validate_header = true) {
if (validate_header) {
ValidateHeader();
}
return {*context, normal_params_size, num_handles_to_copy, num_handles_to_move};
return {*context, normal_params_size, num_handles_to_copy, num_handles_to_move,
num_domain_objects};
}
template <typename T>