chore: fix typos in comments (#29362)
This commit is contained in:
parent
9fcdb06272
commit
77ecc7d432
3 changed files with 3 additions and 3 deletions
|
@ -544,7 +544,7 @@ void ElectronURLLoaderFactory::SendContents(
|
||||||
head->headers->AddHeader("Access-Control-Allow-Origin", "*");
|
head->headers->AddHeader("Access-Control-Allow-Origin", "*");
|
||||||
client_remote->OnReceiveResponse(std::move(head));
|
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::ScopedDataPipeProducerHandle producer;
|
||||||
mojo::ScopedDataPipeConsumerHandle consumer;
|
mojo::ScopedDataPipeConsumerHandle consumer;
|
||||||
if (mojo::CreateDataPipe(nullptr, producer, consumer) != MOJO_RESULT_OK) {
|
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]);
|
handlers_[event].Reset(isolate_, args[1]);
|
||||||
node::MakeCallback(isolate_, emitter_.Get(isolate_), "on",
|
node::MakeCallback(isolate_, emitter_.Get(isolate_), "on",
|
||||||
node::arraysize(args), args, {0, 0});
|
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
|
} // namespace electron
|
||||||
|
|
|
@ -36,7 +36,7 @@ class WrappableBase {
|
||||||
WrappableBase& operator=(const WrappableBase&) = delete;
|
WrappableBase& operator=(const WrappableBase&) = delete;
|
||||||
virtual ~WrappableBase();
|
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::Local<v8::Object> GetWrapper() const;
|
||||||
v8::MaybeLocal<v8::Object> GetWrapper(v8::Isolate* isolate) const;
|
v8::MaybeLocal<v8::Object> GetWrapper(v8::Isolate* isolate) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue