refactor: use Node.js isolate setup in node mode (#23213)

This commit is contained in:
shelley vohr 2020-04-28 09:10:27 -07:00 committed by GitHub
parent a9c17610b5
commit 6a564af580
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 83 deletions

View file

@ -26,11 +26,7 @@ namespace electron {
class NodeBindings {
public:
enum class BrowserEnvironment {
BROWSER,
RENDERER,
WORKER,
};
enum class BrowserEnvironment { BROWSER, RENDERER, WORKER };
static NodeBindings* Create(BrowserEnvironment browser_env);
static void RegisterBuiltinModules();