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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h

Issue 1446973002: Oilpan: tidy up InspectorState weak references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/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;

Powered by Google App Engine
This is Rietveld 408576698