summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2018-07-27 22:41:58 -0400
committerJon Moss <me@jonathanmoss.me>2018-08-01 15:07:14 -0400
commitf479050916aa8fdb8bf580c6b103308dd012cdba (patch)
tree7fb90be56fc987e1f7299d6a0acced057c348e6d /src
parent172b4d7cebaa3ee047dd80ea908f06dd031c39f2 (diff)
downloadandroid-node-v8-f479050916aa8fdb8bf580c6b103308dd012cdba.tar.gz
android-node-v8-f479050916aa8fdb8bf580c6b103308dd012cdba.tar.bz2
android-node-v8-f479050916aa8fdb8bf580c6b103308dd012cdba.zip
src: rename PROVIDER_FSREQWRAP to PROVIDER_FSREQCALLBACK
PR-URL: https://github.com/nodejs/node/pull/21971 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/async_wrap.h2
-rw-r--r--src/node_file.cc2
-rw-r--r--src/node_file.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h
index fed05ab021..60078ee093 100644
--- a/src/async_wrap.h
+++ b/src/async_wrap.h
@@ -39,7 +39,7 @@ namespace node {
V(FILEHANDLE) \
V(FILEHANDLECLOSEREQ) \
V(FSEVENTWRAP) \
- V(FSREQWRAP) \
+ V(FSREQCALLBACK) \
V(FSREQPROMISE) \
V(GETADDRINFOREQWRAP) \
V(GETNAMEINFOREQWRAP) \
diff --git a/src/node_file.cc b/src/node_file.cc
index 9303bcc303..b0effaff7b 100644
--- a/src/node_file.cc
+++ b/src/node_file.cc
@@ -269,7 +269,7 @@ void FileHandle::AfterClose() {
FileHandleReadWrap::FileHandleReadWrap(FileHandle* handle, Local<Object> obj)
- : ReqWrap(handle->env(), obj, AsyncWrap::PROVIDER_FSREQWRAP),
+ : ReqWrap(handle->env(), obj, AsyncWrap::PROVIDER_FSREQCALLBACK),
file_handle_(handle) {}
int FileHandle::ReadStart() {
diff --git a/src/node_file.h b/src/node_file.h
index 049074e111..fdd36efc77 100644
--- a/src/node_file.h
+++ b/src/node_file.h
@@ -88,7 +88,7 @@ class FSReqBase : public ReqWrap<uv_fs_t> {
class FSReqCallback : public FSReqBase {
public:
FSReqCallback(Environment* env, Local<Object> req, bool use_bigint)
- : FSReqBase(env, req, AsyncWrap::PROVIDER_FSREQWRAP, use_bigint) { }
+ : FSReqBase(env, req, AsyncWrap::PROVIDER_FSREQCALLBACK, use_bigint) { }
void Reject(Local<Value> reject) override;
void Resolve(Local<Value> value) override;