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

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

Issue 1648463002: DevTools: migrate injectedscript from ScriptValue to v8::Global. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 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/core/inspector/v8/V8DebuggerImpl.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.h
index 6bbfdec0acc963a7ccd9394cc0a24ba63a32de02..0a7fe70d8e52eef95a2a2acaf28cbbf7431399cd 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.h
@@ -135,10 +135,10 @@ private:
using AgentsMap = HashMap<int, V8DebuggerAgentImpl*>;
AgentsMap m_agentsMap;
bool m_breakpointsActivated;
- v8::UniquePersistent<v8::FunctionTemplate> m_breakProgramCallbackTemplate;
- v8::UniquePersistent<v8::Object> m_debuggerScript;
- v8::UniquePersistent<v8::Context> m_debuggerContext;
- v8::UniquePersistent<v8::FunctionTemplate> m_callFrameWrapperTemplate;
+ v8::Global<v8::FunctionTemplate> m_breakProgramCallbackTemplate;
+ v8::Global<v8::Object> m_debuggerScript;
+ v8::Global<v8::Context> m_debuggerContext;
+ v8::Global<v8::FunctionTemplate> m_callFrameWrapperTemplate;
v8::Local<v8::Object> m_executionState;
v8::Local<v8::Context> m_pausedContext;
bool m_runningNestedMessageLoop;

Powered by Google App Engine
This is Rietveld 408576698