@@ -302,7 +302,6 @@ inline Environment::Environment(IsolateData* isolate_data,
302302#endif
303303 handle_cleanup_waiting_ (0 ),
304304 http_parser_buffer_(nullptr ),
305- http2_socket_buffer_(nullptr ),
306305 fs_stats_field_array_(nullptr ),
307306 context_(context->GetIsolate (), context) {
308307 // We'll be creating new objects so make sure we've entered the context.
@@ -329,7 +328,6 @@ inline Environment::~Environment() {
329328 delete[] heap_statistics_buffer_;
330329 delete[] heap_space_statistics_buffer_;
331330 delete[] http_parser_buffer_;
332- delete[] http2_socket_buffer_;
333331}
334332
335333inline v8::Isolate* Environment::isolate () const {
@@ -488,15 +486,6 @@ inline void Environment::set_fs_stats_field_array(double* fields) {
488486 fs_stats_field_array_ = fields;
489487}
490488
491- inline char * Environment::http2_socket_buffer () const {
492- return http2_socket_buffer_;
493- }
494-
495- inline void Environment::set_http2_socket_buffer (char * buffer) {
496- CHECK_EQ (http2_socket_buffer_, nullptr ); // Should be set only once.
497- http2_socket_buffer_ = buffer;
498- }
499-
500489inline IsolateData* Environment::isolate_data () const {
501490 return isolate_data_;
502491}
0 commit comments