Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-12-16 22:39:27 +0300
committerAnna Henningsen <anna@addaleax.net>2017-12-21 22:56:13 +0300
commit901e9a1983e30cd3913378b80be85f703be5fbc6 (patch)
tree7e2a65447f478a9fb1ab52a173298bcb3a79d02d /src/js_stream.h
parent1af82f3d0e13a175c424017565189fffb2f49e83 (diff)
src: remove redundant `JSStream::DoAfterWrite`
`Finish<WriteWrap>` already does the same thing and is called immediately afterwards anyway. PR-URL: https://github.com/nodejs/node/pull/17713 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/js_stream.h')
-rw-r--r--src/js_stream.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/js_stream.h b/src/js_stream.h
index c7caf79374d..338cbe54563 100644
--- a/src/js_stream.h
+++ b/src/js_stream.h
@@ -37,7 +37,6 @@ class JSStream : public AsyncWrap, public StreamBase {
AsyncWrap* GetAsyncWrap() override;
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
- static void DoAfterWrite(const v8::FunctionCallbackInfo<v8::Value>& args);
static void ReadBuffer(const v8::FunctionCallbackInfo<v8::Value>& args);
static void EmitEOF(const v8::FunctionCallbackInfo<v8::Value>& args);