diff options
author | Weijia Wang <381152119@qq.com> | 2018-08-17 11:33:45 +0300 |
---|---|---|
committer | Weijia Wang <starkwang@126.com> | 2018-10-15 14:01:20 +0300 |
commit | ac23e6557f3a9d4283e0d2f0948f871892669faf (patch) | |
tree | a58c76f411402ea6754b177103f23fc6e4dd77f2 /lib/internal/buffer.js | |
parent | ea1565e09fbf668e805a648b3dd2a53b71d54946 (diff) |
buffer: move process.binding('buffer') to internalBinding
PR-URL: https://github.com/nodejs/node/pull/22370
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'lib/internal/buffer.js')
-rw-r--r-- | lib/internal/buffer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/buffer.js b/lib/internal/buffer.js index 3ea34af59e2..61bdced4d63 100644 --- a/lib/internal/buffer.js +++ b/lib/internal/buffer.js @@ -1,6 +1,6 @@ 'use strict'; -const binding = process.binding('buffer'); +const binding = internalBinding('buffer'); const { ERR_BUFFER_OUT_OF_BOUNDS, ERR_INVALID_ARG_TYPE, |