chore: cleanup some typos in comments (#25770)
This commit is contained in:
parent
183e92a5ae
commit
b194030a34
31 changed files with 38 additions and 38 deletions
|
@ -15,7 +15,7 @@ struct Converter<electron::NativeWindow*> {
|
|||
static bool FromV8(v8::Isolate* isolate,
|
||||
v8::Local<v8::Value> val,
|
||||
electron::NativeWindow** out) {
|
||||
// null would be tranfered to NULL.
|
||||
// null would be transferred to NULL.
|
||||
if (val->IsNull()) {
|
||||
*out = NULL;
|
||||
return true;
|
||||
|
|
|
@ -273,8 +273,8 @@ v8::Local<v8::Value> Converter<network::ResourceRequestBody>::ToV8(
|
|||
case network::mojom::DataElementType::kDataPipe: {
|
||||
upload_data.Set("type", "blob");
|
||||
// TODO(zcbenz): After the NetworkService refactor, the old blobUUID API
|
||||
// becomes unecessarily complex, we should deprecate the getBlobData API
|
||||
// and return the DataPipeHolder wrapper directly.
|
||||
// becomes unnecessarily complex, we should deprecate the getBlobData
|
||||
// API and return the DataPipeHolder wrapper directly.
|
||||
auto holder = electron::api::DataPipeHolder::Create(isolate, element);
|
||||
upload_data.Set("blobUUID", holder->id());
|
||||
// The lifetime of data pipe is bound to the uploadData object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue