зеркало из https://github.com/electron/electron.git
chore: remove obsolete v8 patches (#16910)
* patches/common/v8/disable-warning-win.patch added in https://github.com/electron/libchromiumcontent/pull/483 * patches/common/v8/ostreams.patch added in https://github.com/electron/libchromiumcontent/pull/258
This commit is contained in:
Родитель
8d09219533
Коммит
1ed7b1c76d
|
@ -2,10 +2,8 @@ deps_backport_detailed_line_info_for_cpu_profiler.patch
|
|||
add_realloc.patch
|
||||
build_gn.patch
|
||||
array_buffer.patch
|
||||
ostreams.patch
|
||||
export_platform.patch
|
||||
dcheck.patch
|
||||
disable-warning-win.patch
|
||||
expose_mksnapshot.patch
|
||||
build-torque-with-x64-toolchain-on-arm.patch
|
||||
do_not_run_arm_arm64_mksnapshot_binaries.patch
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nitish Sakhawalkar <nitsakh@icloud.com>
|
||||
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
||||
Subject: disable-warning-win.patch
|
||||
|
||||
Disable unit test windows build warning
|
||||
|
||||
diff --git a/test/unittests/base/bits-unittest.cc b/test/unittests/base/bits-unittest.cc
|
||||
index 6f787eb72783570812f7cbda57b836df56b5f2cb..c36dfcc836d6351d11d2178a8e6c3556b3ff3422 100644
|
||||
--- a/test/unittests/base/bits-unittest.cc
|
||||
+++ b/test/unittests/base/bits-unittest.cc
|
||||
@@ -13,7 +13,9 @@
|
||||
#else
|
||||
#define DISABLE_IN_RELEASE(Name) DISABLED_##Name
|
||||
#endif
|
||||
-
|
||||
+#ifdef _WIN32
|
||||
+#pragma warning(disable:4724 4723) // Disable potential divide by 0 warnings
|
||||
+#endif
|
||||
namespace v8 {
|
||||
namespace base {
|
||||
namespace bits {
|
|
@ -1,19 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Cheng Zhao <zcbenz@gmail.com>
|
||||
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
||||
Subject: ostreams.patch
|
||||
|
||||
|
||||
diff --git a/src/ostreams.h b/src/ostreams.h
|
||||
index 189f5384b99438f3dad1d77a0836ceb45f6ed938..83a5930d4bd690dde01749bcd88acb11d75aa0cb 100644
|
||||
--- a/src/ostreams.h
|
||||
+++ b/src/ostreams.h
|
||||
@@ -32,7 +32,7 @@ class V8_EXPORT_PRIVATE OFStreamBase : public std::streambuf {
|
||||
};
|
||||
|
||||
// An output stream writing to a file.
|
||||
-class V8_EXPORT_PRIVATE OFStream : public std::ostream {
|
||||
+class V8_EXPORT_PRIVATE OFStream : public NON_EXPORTED_BASE(std::ostream) {
|
||||
public:
|
||||
explicit OFStream(FILE* f);
|
||||
~OFStream() override = default;
|
Загрузка…
Ссылка в новой задаче