Index: src/counters.h |
diff --git a/src/counters.h b/src/counters.h |
index 3049e8673f5e39ea11a6384bd36ebf160b85df46..2b91fc074fbd030ff80aa21f7cb6310156d9b175 100644 |
--- a/src/counters.h |
+++ b/src/counters.h |
@@ -791,7 +791,7 @@ class RuntimeCallStats { |
void Reset(); |
V8_NOINLINE void Print(std::ostream& os); |
- V8_NOINLINE const char* Dump(); |
+ V8_NOINLINE std::string Dump(); |
RuntimeCallStats() { |
Reset(); |
@@ -803,8 +803,6 @@ class RuntimeCallStats { |
private: |
std::stringstream buffer_; |
- std::unique_ptr<char[]> buffer_c_str_; |
- size_t len_ = 0; |
// Counter to track recursive time events. |
RuntimeCallTimer* current_timer_ = NULL; |
// Used to track nested tracing scopes. |