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

Unified Diff: Source/bindings/dart/DartUtilities.h

Issue 466243002: Support merged Dart-JS callstacks (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 6 years, 4 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: Source/bindings/dart/DartUtilities.h
diff --git a/Source/bindings/dart/DartUtilities.h b/Source/bindings/dart/DartUtilities.h
index 5e728715d0581f43b1e097dc99ee7fe4144d14ef..67ca96dbcc12d172c9dd344c0511b8d12ba8179f 100644
--- a/Source/bindings/dart/DartUtilities.h
+++ b/Source/bindings/dart/DartUtilities.h
@@ -237,7 +237,7 @@ public:
static PassRefPtr<ScriptCallStack> createScriptCallStack();
static ScriptCallFrame getTopFrame(Dart_StackTrace, Dart_Handle& exception);
static ScriptCallFrame toScriptCallFrame(Dart_ActivationFrame, Dart_Handle& exception);
-
+ static size_t currentStackDepth();
static const uint8_t* fullSnapshot(LocalFrame*);
static Dart_Handle canonicalizeUrl(Dart_Handle library, Dart_Handle urlHandle, String url);
@@ -885,6 +885,8 @@ public:
V8Scope(DartDOMData*);
~V8Scope();
private:
+ void incrementRecursionLevel();
+
v8::Isolate* m_v8Isolate;
DartDOMData* m_dartDOMData;
v8::HandleScope m_handleScope;

Powered by Google App Engine
This is Rietveld 408576698