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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
index 8a6d3b9b0dd3ebe0956464e743ff606410228210..ad07144296e484545bc269ed96a85288111cc6e1 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
@@ -35,6 +35,7 @@
#include "core/InspectorFrontend.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/v8/V8RuntimeAgent.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -94,7 +95,7 @@ private:
InjectedScriptManager* injectedScriptManager() { return m_injectedScriptManager; }
void addExecutionContextToFrontend(int executionContextId, const String& type, const String& origin, const String& humanReadableName, const String& frameId) override;
- InspectorState* m_state;
+ RawPtrWillBeWeakPersistent<InspectorState> m_state;
InspectorFrontend::Runtime* m_frontend;
RawPtrWillBeWeakPersistent<InjectedScriptManager> m_injectedScriptManager;
V8DebuggerImpl* m_debugger;
« no previous file with comments | « third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698