mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Refactoring: use C++11 class member variable initialization
This commit is contained in:
@@ -135,10 +135,7 @@ base::FilePath GetResourcesPath(bool is_browser) {
|
||||
} // namespace
|
||||
|
||||
NodeBindings::NodeBindings(BrowserEnvironment browser_env)
|
||||
: browser_env_(browser_env),
|
||||
embed_closed_(false),
|
||||
uv_env_(nullptr),
|
||||
weak_factory_(this) {
|
||||
: browser_env_(browser_env), weak_factory_(this) {
|
||||
if (browser_env == WORKER) {
|
||||
uv_loop_init(&worker_loop_);
|
||||
uv_loop_ = &worker_loop_;
|
||||
|
||||
Reference in New Issue
Block a user