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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: It builds => ship it. Created 4 years, 10 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: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
index 7baff2fe98124552efbb5b6bb6ed8c9a2e6a1af7..3212d3cb827e2f1e916e93b626538f285694006b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -35,6 +35,7 @@
#include "core/frame/Deprecation.h"
#include "core/inspector/MainThreadDebugger.h"
#include "platform/ScriptForbiddenScope.h"
+#include "platform/TraceEvent.h"
#include "public/platform/Platform.h"
#include "wtf/LeakAnnotations.h"
#include "wtf/MainThread.h"
@@ -351,4 +352,13 @@ ThreadDebugger* V8PerIsolateData::threadDebugger()
return m_threadDebugger.get();
}
+void V8PerIsolateData::onTraceLogEnabled()
+{
+ TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID("v8", "Isolate", isolate(), "{}");
+}
+
+void V8PerIsolateData::onTraceLogDisabled()
+{
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698