This commit is contained in:
David Sanders 2021-05-27 11:48:03 -07:00 коммит произвёл GitHub
Родитель 9fcdb06272
Коммит 77ecc7d432
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -544,7 +544,7 @@ void ElectronURLLoaderFactory::SendContents(
head->headers->AddHeader("Access-Control-Allow-Origin", "*");
client_remote->OnReceiveResponse(std::move(head));
// Code bellow follows the pattern of data_url_loader_factory.cc.
// Code below follows the pattern of data_url_loader_factory.cc.
mojo::ScopedDataPipeProducerHandle producer;
mojo::ScopedDataPipeConsumerHandle consumer;
if (mojo::CreateDataPipe(nullptr, producer, consumer) != MOJO_RESULT_OK) {

Просмотреть файл

@ -165,7 +165,7 @@ void NodeStreamLoader::On(const char* event, EventCallback callback) {
handlers_[event].Reset(isolate_, args[1]);
node::MakeCallback(isolate_, emitter_.Get(isolate_), "on",
node::arraysize(args), args, {0, 0});
// No more code bellow, as this class may destruct when subscribing.
// No more code below, as this class may destruct when subscribing.
}
} // namespace electron

Просмотреть файл

@ -36,7 +36,7 @@ class WrappableBase {
WrappableBase& operator=(const WrappableBase&) = delete;
virtual ~WrappableBase();
// Retrieve the v8 wrapper object cooresponding to this object.
// Retrieve the v8 wrapper object corresponding to this object.
v8::Local<v8::Object> GetWrapper() const;
v8::MaybeLocal<v8::Object> GetWrapper(v8::Isolate* isolate) const;