update chromium and v8 patches

This commit is contained in:
Jeremy Apthorp 2018-09-20 17:30:26 -07:00
parent aefb8911ec
commit ef12492d6c
78 changed files with 2816 additions and 7025 deletions

View file

@ -1,17 +1,17 @@
diff --git a/BUILD.gn b/BUILD.gn
index 456a318c1c..283bce15f0 100644
index 443694d880..d0ba5ed04e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -195,7 +195,7 @@ config("internal_config") {
"$target_gen_dir",
]
@@ -212,7 +212,7 @@ config("internal_config") {
defines = []
- if (is_component_build) {
+ if (is_component_build || is_electron_build) {
defines = [ "BUILDING_V8_SHARED" ]
defines += [ "BUILDING_V8_SHARED" ]
}
}
@@ -2674,6 +2674,8 @@ if (current_toolchain == v8_snapshot_toolchain) {
@@ -3138,6 +3138,8 @@ if (v8_use_snapshot && current_toolchain == v8_snapshot_toolchain) {
configs = [ ":internal_config" ]

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,9 @@
diff --git a/src/ostreams.h b/src/ostreams.h
index e72c8ee..9f25bca 100644
index c6b64a1cd9..236a73d018 100644
--- a/src/ostreams.h
+++ b/src/ostreams.h
@@ -34,7 +34,7 @@ class OFStreamBase : public std::streambuf {
@@ -32,7 +32,7 @@ class OFStreamBase : public std::streambuf {
};
// An output stream writing to a file.
-class V8_EXPORT_PRIVATE OFStream : public std::ostream {