mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
refactor: use C++11 class member variable initialization (#27477)
This commit is contained in:
@@ -159,7 +159,7 @@ class NodeBindings {
|
||||
// Isolate data used in creating the environment
|
||||
node::IsolateData* isolate_data_ = nullptr;
|
||||
|
||||
base::WeakPtrFactory<NodeBindings> weak_factory_;
|
||||
base::WeakPtrFactory<NodeBindings> weak_factory_{this};
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NodeBindings);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user