File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -482,12 +482,12 @@ inline void Environment::set_http_parser_buffer_in_use(bool in_use) {
482
482
http_parser_buffer_in_use_ = in_use;
483
483
}
484
484
485
- inline http2::http2_state * Environment::http2_state () const {
485
+ inline http2::Http2State * Environment::http2_state () const {
486
486
return http2_state_.get ();
487
487
}
488
488
489
489
inline void Environment::set_http2_state (
490
- std::unique_ptr<http2::http2_state > buffer) {
490
+ std::unique_ptr<http2::Http2State > buffer) {
491
491
CHECK (!http2_state_); // Should be set only once.
492
492
http2_state_ = std::move (buffer);
493
493
}
Original file line number Diff line number Diff line change @@ -643,8 +643,8 @@ class Environment {
643
643
inline bool http_parser_buffer_in_use () const ;
644
644
inline void set_http_parser_buffer_in_use (bool in_use);
645
645
646
- inline http2::http2_state * http2_state () const ;
647
- inline void set_http2_state (std::unique_ptr<http2::http2_state > state);
646
+ inline http2::Http2State * http2_state () const ;
647
+ inline void set_http2_state (std::unique_ptr<http2::Http2State > state);
648
648
649
649
inline AliasedBuffer<double , v8::Float64Array>* fs_stats_field_array ();
650
650
@@ -831,7 +831,7 @@ class Environment {
831
831
832
832
char * http_parser_buffer_;
833
833
bool http_parser_buffer_in_use_ = false ;
834
- std::unique_ptr<http2::http2_state > http2_state_;
834
+ std::unique_ptr<http2::Http2State > http2_state_;
835
835
836
836
AliasedBuffer<double , v8::Float64Array> fs_stats_field_array_;
837
837
Original file line number Diff line number Diff line change @@ -2650,7 +2650,7 @@ void Initialize(Local<Object> target,
2650
2650
Isolate* isolate = env->isolate ();
2651
2651
HandleScope scope (isolate);
2652
2652
2653
- std::unique_ptr<http2_state > state (new http2_state (isolate));
2653
+ std::unique_ptr<Http2State > state (new Http2State (isolate));
2654
2654
2655
2655
#define SET_STATE_TYPEDARRAY (name, field ) \
2656
2656
target->Set (context, \
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ namespace http2 {
84
84
IDX_SESSION_STATS_COUNT
85
85
};
86
86
87
- class http2_state {
87
+ class Http2State {
88
88
public:
89
- explicit http2_state (v8::Isolate* isolate) :
89
+ explicit Http2State (v8::Isolate* isolate) :
90
90
root_buffer(
91
91
isolate,
92
92
sizeof (http2_state_internal)),
You can’t perform that action at this time.
0 commit comments