Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: src/inspector/v8-stack-trace-impl.h

Issue 2357423002: Improve stack traces for async functions (Closed)
Patch Set: Format Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f23dbbf6f7282d431c89ceb86c601f0446bb27a9..fcf6e36f8baca4aa7e5e12a9bd8b6eaf02f21cc1 100644
--- a/src/inspector/v8-stack-trace-impl.h
+++ b/src/inspector/v8-stack-trace-impl.h
@@ -58,10 +58,11 @@ class V8StackTraceImpl final : public V8StackTrace {
bool capture);
static std::unique_ptr<V8StackTraceImpl> create(
V8Debugger*, int contextGroupId, v8::Local<v8::StackTrace>,
- size_t maxStackSize, const String16& description = String16());
+ size_t maxStackSize, const String16& description = String16(),
+ bool skipInitialFrame = false);
static std::unique_ptr<V8StackTraceImpl> capture(
V8Debugger*, int contextGroupId, size_t maxStackSize,
- const String16& description = String16());
+ const String16& description = String16(), bool skipInitialFrame = false);
// This method drops the async chain. Use cloneImpl() instead.
std::unique_ptr<V8StackTrace> clone() override;

Powered by Google App Engine
This is Rietveld 408576698