Index: src/inspector/v8-stack-trace-impl.h |
diff --git a/src/inspector/v8-stack-trace-impl.h b/src/inspector/v8-stack-trace-impl.h |
index 302f6fbbb92dc3e7a4ac94442b869d1142b0ce4f..1fc1cdc619e91835d3f493f5df53a2591a2fbfb7 100644 |
--- a/src/inspector/v8-stack-trace-impl.h |
+++ b/src/inspector/v8-stack-trace-impl.h |
@@ -102,6 +102,12 @@ class AsyncStackTrace { |
std::weak_ptr<AsyncStackTrace> creation() const; |
bool isEmpty() const; |
+ void setDescription(const String16& description) { |
+ // TODO(kozyatinskiy): implement it without hack. |
+ DCHECK(!m_description.length() || m_description == description); |
+ m_description = description; |
+ } |
+ |
private: |
AsyncStackTrace(int contextGroupId, const String16& description, |
std::vector<std::shared_ptr<StackFrame>> frames, |