Index: third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h |
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h |
index 7ba14e0b17b5d10f5dbea513268a92de32f43c93..a026d80e8fe871727dd2d5f8f901e3e2f655b7f0 100644 |
--- a/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h |
+++ b/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h |
@@ -8,6 +8,7 @@ |
#include "core/CoreExport.h" |
#include "core/InspectorFrontend.h" |
#include "core/inspector/v8/V8ProfilerAgent.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/text/WTFString.h" |
@@ -47,7 +48,7 @@ private: |
bool isRecording() const; |
v8::Isolate* m_isolate; |
- InspectorState* m_state; |
+ RawPtrWillBeWeakPersistent<InspectorState> m_state; |
InspectorFrontend::Profiler* m_frontend; |
bool m_enabled; |
bool m_recordingCPUProfile; |