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 |