refactor: use C++11 class member variable initialization (#27477)
This commit is contained in:
parent
f083380c38
commit
ddf3ef0a5f
93 changed files with 130 additions and 163 deletions
|
@ -32,7 +32,7 @@ namespace api {
|
|||
|
||||
BrowserWindow::BrowserWindow(gin::Arguments* args,
|
||||
const gin_helper::Dictionary& options)
|
||||
: BaseWindow(args->isolate(), options), weak_factory_(this) {
|
||||
: BaseWindow(args->isolate(), options) {
|
||||
// Use options.webPreferences in WebContents.
|
||||
v8::Isolate* isolate = args->isolate();
|
||||
gin_helper::Dictionary web_preferences =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue