File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ ElectronBrowserMainParts::ElectronBrowserMainParts(
251
251
browser_ (new Browser),
252
252
node_bindings_(
253
253
NodeBindings::Create (NodeBindings::BrowserEnvironment::BROWSER)),
254
- electron_bindings_(new ElectronBindings(uv_default_loop ())) {
254
+ electron_bindings_(new ElectronBindings(node_bindings_-> uv_loop ())) {
255
255
DCHECK (!self_) << " Cannot have two ElectronBrowserMainParts" ;
256
256
self_ = this ;
257
257
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ bool IsDevToolsExtension(content::RenderFrame* render_frame) {
37
37
ElectronRendererClient::ElectronRendererClient ()
38
38
: node_bindings_(
39
39
NodeBindings::Create (NodeBindings::BrowserEnvironment::RENDERER)),
40
- electron_bindings_(new ElectronBindings(uv_default_loop ())) {}
40
+ electron_bindings_(new ElectronBindings(node_bindings_-> uv_loop ())) {}
41
41
42
42
ElectronRendererClient::~ElectronRendererClient () {
43
43
asar::ClearArchives ();
You can’t perform that action at this time.
0 commit comments