Avoid unnecessary copy of parameters.
This commit is contained in:
parent
99293dd57f
commit
5f724e57bc
8 changed files with 8 additions and 8 deletions
|
@ -236,7 +236,7 @@ void AtomSandboxedRendererClient::WillReleaseScriptContext(
|
|||
|
||||
void AtomSandboxedRendererClient::InvokeIpcCallback(
|
||||
v8::Handle<v8::Context> context,
|
||||
std::string callback_name,
|
||||
const std::string& callback_name,
|
||||
std::vector<v8::Handle<v8::Value>> args) {
|
||||
auto isolate = context->GetIsolate();
|
||||
auto binding_key = mate::ConvertToV8(isolate, kIpcKey)->ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue