mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump chromium to 108.0.5329.0 (22-x-y) (#35906)
* chore: bump chromium to 108.0.5329.0 (main) (#35628)
Co-authored-by: Samuel Attard <sattard@salesforce.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* chore: update libcxx filenames
(cherry picked from commit 3c6a56394b)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org>
This commit is contained in:
22
shell/common/platform_util_win.cc
Normal file → Executable file
22
shell/common/platform_util_win.cc
Normal file → Executable file
@@ -331,23 +331,21 @@ void ShowItemInFolder(const base::FilePath& full_path) {
|
||||
void OpenPath(const base::FilePath& full_path, OpenCallback callback) {
|
||||
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
||||
|
||||
base::PostTaskAndReplyWithResult(
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
.get(),
|
||||
FROM_HERE, base::BindOnce(&OpenPathOnThread, full_path),
|
||||
std::move(callback));
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
->PostTaskAndReplyWithResult(FROM_HERE,
|
||||
base::BindOnce(&OpenPathOnThread, full_path),
|
||||
std::move(callback));
|
||||
}
|
||||
|
||||
void OpenExternal(const GURL& url,
|
||||
const OpenExternalOptions& options,
|
||||
OpenCallback callback) {
|
||||
base::PostTaskAndReplyWithResult(
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
.get(),
|
||||
FROM_HERE, base::BindOnce(&OpenExternalOnWorkerThread, url, options),
|
||||
std::move(callback));
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
->PostTaskAndReplyWithResult(
|
||||
FROM_HERE, base::BindOnce(&OpenExternalOnWorkerThread, url, options),
|
||||
std::move(callback));
|
||||
}
|
||||
|
||||
bool MoveItemToTrashWithError(const base::FilePath& path,
|
||||
|
||||
3
shell/common/v8_value_serializer.cc
Normal file → Executable file
3
shell/common/v8_value_serializer.cc
Normal file → Executable file
@@ -12,6 +12,7 @@
|
||||
#include "shell/common/gin_helper/microtasks_scope.h"
|
||||
#include "skia/public/mojom/bitmap.mojom.h"
|
||||
#include "third_party/blink/public/common/messaging/cloneable_message.h"
|
||||
#include "third_party/blink/public/common/messaging/web_message_port.h"
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
@@ -46,6 +47,8 @@ class V8Serializer : public v8::ValueSerializer::Delegate {
|
||||
DCHECK_EQ(buffer.first, data_.data());
|
||||
out->encoded_message = base::make_span(buffer.first, buffer.second);
|
||||
out->owned_encoded_message = std::move(data_);
|
||||
out->sender_agent_cluster_id =
|
||||
blink::WebMessagePort::GetEmbedderAgentClusterID();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user