File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class V8CoverageConnection : public V8ProfilerConnection {
75
75
void Start () override ;
76
76
void End () override ;
77
77
78
- const char * type () const override { return type_. c_str () ; }
78
+ const char * type () const override { return " coverage " ; }
79
79
bool ending () const override { return ending_; }
80
80
81
81
std::string GetDirectory () const override ;
@@ -85,7 +85,6 @@ class V8CoverageConnection : public V8ProfilerConnection {
85
85
private:
86
86
std::unique_ptr<inspector::InspectorSession> session_;
87
87
bool ending_ = false ;
88
- std::string type_ = " coverage" ;
89
88
};
90
89
91
90
class V8CpuProfilerConnection : public V8ProfilerConnection {
@@ -96,7 +95,7 @@ class V8CpuProfilerConnection : public V8ProfilerConnection {
96
95
void Start () override ;
97
96
void End () override ;
98
97
99
- const char * type () const override { return type_. c_str () ; }
98
+ const char * type () const override { return " CPU " ; }
100
99
bool ending () const override { return ending_; }
101
100
102
101
std::string GetDirectory () const override ;
@@ -106,7 +105,6 @@ class V8CpuProfilerConnection : public V8ProfilerConnection {
106
105
private:
107
106
std::unique_ptr<inspector::InspectorSession> session_;
108
107
bool ending_ = false ;
109
- std::string type_ = " CPU" ;
110
108
};
111
109
112
110
} // namespace profiler
You can’t perform that action at this time.
0 commit comments