summaryrefslogtreecommitdiff
path: root/libdeno/binding.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-12-04 15:06:20 -0800
committerGitHub <noreply@github.com>2018-12-04 15:06:20 -0800
commitd70b04c6d7f5fec2d3cd9584362a9675a5196531 (patch)
tree1820dd24196bbe0e82c9d5b4d8f8e55feeebcb37 /libdeno/binding.cc
parent30420ad3174e232b74146ad09af448407f252685 (diff)
Add deno_config struct for isolate creation. (#1277)
In preperation for adding other callbacks to libdeno.
Diffstat (limited to 'libdeno/binding.cc')
-rw-r--r--libdeno/binding.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdeno/binding.cc b/libdeno/binding.cc
index 999ccac47..b5d7ecafa 100644
--- a/libdeno/binding.cc
+++ b/libdeno/binding.cc
@@ -324,7 +324,7 @@ void Send(const v8::FunctionCallbackInfo<v8::Value>& args) {
DCHECK_EQ(d->current_args_, nullptr);
d->current_args_ = &args;
- d->cb_(d->user_data_, req_id, control, data);
+ d->recv_cb_(d->user_data_, req_id, control, data);
if (d->current_args_ == nullptr) {
// This indicates that deno_repond() was called already.