@@ -303,7 +303,6 @@ inline Environment::Environment(IsolateData* isolate_data,
303
303
#endif
304
304
handle_cleanup_waiting_ (0 ),
305
305
http_parser_buffer_(nullptr ),
306
- http2_socket_buffer_(nullptr ),
307
306
fs_stats_field_array_(nullptr ),
308
307
context_(context->GetIsolate (), context) {
309
308
// We'll be creating new objects so make sure we've entered the context.
@@ -330,7 +329,6 @@ inline Environment::~Environment() {
330
329
delete[] heap_statistics_buffer_;
331
330
delete[] heap_space_statistics_buffer_;
332
331
delete[] http_parser_buffer_;
333
- delete[] http2_socket_buffer_;
334
332
}
335
333
336
334
inline v8::Isolate* Environment::isolate () const {
@@ -489,15 +487,6 @@ inline void Environment::set_fs_stats_field_array(double* fields) {
489
487
fs_stats_field_array_ = fields;
490
488
}
491
489
492
- inline char * Environment::http2_socket_buffer () const {
493
- return http2_socket_buffer_;
494
- }
495
-
496
- inline void Environment::set_http2_socket_buffer (char * buffer) {
497
- CHECK_EQ (http2_socket_buffer_, nullptr ); // Should be set only once.
498
- http2_socket_buffer_ = buffer;
499
- }
500
-
501
490
inline IsolateData* Environment::isolate_data () const {
502
491
return isolate_data_;
503
492
}
0 commit comments