From 77ecc7d432332ab32d8902d6823300c66fb754d3 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Thu, 27 May 2021 11:48:03 -0700 Subject: [PATCH] chore: fix typos in comments (#29362) --- shell/browser/net/electron_url_loader_factory.cc | 2 +- shell/browser/net/node_stream_loader.cc | 2 +- shell/common/gin_helper/wrappable_base.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/browser/net/electron_url_loader_factory.cc b/shell/browser/net/electron_url_loader_factory.cc index ef2dea2fd57c..d180b94d4ed0 100644 --- a/shell/browser/net/electron_url_loader_factory.cc +++ b/shell/browser/net/electron_url_loader_factory.cc @@ -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) { diff --git a/shell/browser/net/node_stream_loader.cc b/shell/browser/net/node_stream_loader.cc index 423216a4db6e..103399abab03 100644 --- a/shell/browser/net/node_stream_loader.cc +++ b/shell/browser/net/node_stream_loader.cc @@ -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 diff --git a/shell/common/gin_helper/wrappable_base.h b/shell/common/gin_helper/wrappable_base.h index b8cf200f7fa0..4ac145edf47c 100644 --- a/shell/common/gin_helper/wrappable_base.h +++ b/shell/common/gin_helper/wrappable_base.h @@ -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 GetWrapper() const; v8::MaybeLocal GetWrapper(v8::Isolate* isolate) const;