mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
refactor: use C++11 class member variable initialization (#27477)
This commit is contained in:
@@ -73,8 +73,7 @@ class SpellCheckClient::SpellcheckRequest {
|
||||
SpellCheckClient::SpellCheckClient(const std::string& language,
|
||||
v8::Isolate* isolate,
|
||||
v8::Local<v8::Object> provider)
|
||||
: pending_request_param_(nullptr),
|
||||
isolate_(isolate),
|
||||
: isolate_(isolate),
|
||||
context_(isolate, isolate->GetCurrentContext()),
|
||||
provider_(isolate, provider) {
|
||||
DCHECK(!context_.IsEmpty());
|
||||
|
||||
Reference in New Issue
Block a user