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

Unified Diff: Source/bindings/core/v8/V8PerIsolateData.h

Issue 998933004: Oilpan: use a cross-thread persistent for per-isolate ScriptDebugServers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8PerIsolateData.h
diff --git a/Source/bindings/core/v8/V8PerIsolateData.h b/Source/bindings/core/v8/V8PerIsolateData.h
index bcb28b71ef4c55d37fa8d0a81011ab49e3e91fb1..991e0704f140462d4e4c79757f710336ed231e30 100644
--- a/Source/bindings/core/v8/V8PerIsolateData.h
+++ b/Source/bindings/core/v8/V8PerIsolateData.h
@@ -150,7 +150,11 @@ private:
bool m_performingMicrotaskCheckpoint;
Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks;
- OwnPtrWillBePersistent<ScriptDebugServer> m_debugServer;
+#if ENABLE(OILPAN)
+ CrossThreadPersistent<ScriptDebugServer> m_debugServer;
+#else
+ OwnPtr<ScriptDebugServer> m_debugServer;
+#endif
};
} // namespace blink
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698