Make the v8 Isolate used in the proxy resolver explicit.
For conceptual and performance reasons, the v8 API will require explicit passing of Isolates in the future instead of relying on the retrieval of one out of thin air (= either TLS or an evil global variable in v8). This CL makes the Isolate explicit in ProxyResolverV8::Context. The default Isolate is retrieved and remembered in the main browser thread and then passed down to the Context where it is needed in different threads. Review URL: https://codereview.chromium.org/11959029 Patch from Sven Panne <svenpanne@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180134 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment