parent
5bb29c3ac2
commit
3aaab3062e
@ -1,11 +0,0 @@
|
|||||||
diff -up chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc
|
|
||||||
--- chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include 2022-06-15 10:52:49.553817031 -0400
|
|
||||||
+++ chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc 2022-06-15 10:56:15.775173013 -0400
|
|
||||||
@@ -56,6 +56,7 @@
|
|
||||||
|
|
||||||
#if V8_OS_LINUX
|
|
||||||
#include <sys/prctl.h> // for prctl
|
|
||||||
+#include <linux/memfd.h> // for MFD_CLOEXEC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(V8_OS_FUCHSIA)
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h.me iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h
|
|
||||||
--- iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h.me 2022-11-18 22:17:57.883182823 +0100
|
|
||||||
+++ iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h 2022-11-18 22:18:51.883143167 +0100
|
|
||||||
@@ -2292,7 +2292,7 @@ _NEON2SSESTORAGE float64x2_t vsqrtq_f64(
|
|
||||||
// the following macros solve the problem of the "immediate parameters requirement" for some x86 intrinsics.
|
|
||||||
// we need it to compile the code unless the "Intrinsic parameter must be an immediate value" error is our goal
|
|
||||||
//
|
|
||||||
-#if ( defined (__INTEL_COMPILER) || defined (__GNUC__) && !defined(__llvm__) )
|
|
||||||
+#if ( defined (__INTEL_COMPILER) && !defined(__llvm__) )
|
|
||||||
# define _MM_ALIGNR_EPI8 _mm_alignr_epi8
|
|
||||||
# define _MM_EXTRACT_EPI16 (int16_t) _mm_extract_epi16
|
|
||||||
# define _MM_INSERT_EPI16 _mm_insert_epi16
|
|
@ -1,17 +0,0 @@
|
|||||||
diff -up iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c.me iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c
|
|
||||||
--- iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c.me 2022-11-18 12:07:56.724329365 +0100
|
|
||||||
+++ iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c 2022-11-18 12:18:38.009916441 +0100
|
|
||||||
@@ -45,6 +45,13 @@
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
+#ifndef F_GET_SEALS
|
|
||||||
+#define F_GET_SEALS 1034 /* Get seals for file. */
|
|
||||||
+#endif
|
|
||||||
+#ifndef F_SEAL_SHRINK
|
|
||||||
+#define F_SEAL_SHRINK 0x0002 /* Prevent file from shrinking. */
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "wayland-util.h"
|
|
||||||
#include "wayland-private.h"
|
|
||||||
#include "wayland-server.h"
|
|
@ -1,6 +1,7 @@
|
|||||||
diff -up chromium-98.0.4758.80/components/cast_channel/enum_table.h.EnumTable-crash chromium-98.0.4758.80/components/cast_channel/enum_table.h
|
diff --git a/components/media_router/common/providers/cast/channel/enum_table.h b/components/media_router/common/providers/cast/channel/enum_table.h
|
||||||
--- chromium-98.0.4758.80/components/cast_channel/enum_table.h.EnumTable-crash 2022-02-01 00:41:47.000000000 +0000
|
index 842553a..89de703 100644
|
||||||
+++ chromium-98.0.4758.80/components/cast_channel/enum_table.h 2022-02-02 18:54:23.096214186 +0000
|
--- a/components/media_router/common/providers/cast/channel/enum_table.h
|
||||||
|
+++ b/components/media_router/common/providers/cast/channel/enum_table.h
|
||||||
@@ -8,6 +8,7 @@
|
@@ -8,6 +8,7 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
@ -0,0 +1,80 @@
|
|||||||
|
diff -up chromium-108.0.5359.124/third_party/mako/mako/mako/compat.py.drop-python-importlib-metadata chromium-108.0.5359.124/third_party/mako/mako/mako/compat.py
|
||||||
|
--- chromium-108.0.5359.124/third_party/mako/mako/mako/compat.py.drop-python-importlib-metadata 2022-12-14 01:40:09.000000000 +0100
|
||||||
|
+++ chromium-108.0.5359.124/third_party/mako/mako/mako/compat.py 2022-12-28 14:07:33.761045114 +0100
|
||||||
|
@@ -11,7 +11,6 @@ import sys
|
||||||
|
|
||||||
|
win32 = sys.platform.startswith("win")
|
||||||
|
pypy = hasattr(sys, "pypy_version_info")
|
||||||
|
-py38 = sys.version_info >= (3, 8)
|
||||||
|
|
||||||
|
ArgSpec = collections.namedtuple(
|
||||||
|
"ArgSpec", ["args", "varargs", "keywords", "defaults"]
|
||||||
|
@@ -60,17 +59,3 @@ def exception_as():
|
||||||
|
|
||||||
|
def exception_name(exc):
|
||||||
|
return exc.__class__.__name__
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-if py38:
|
||||||
|
- from importlib import metadata as importlib_metadata
|
||||||
|
-else:
|
||||||
|
- import importlib_metadata # noqa
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-def importlib_metadata_get(group):
|
||||||
|
- ep = importlib_metadata.entry_points()
|
||||||
|
- if hasattr(ep, "select"):
|
||||||
|
- return ep.select(group=group)
|
||||||
|
- else:
|
||||||
|
- return ep.get(group, ())
|
||||||
|
diff -up chromium-108.0.5359.124/third_party/mako/mako/mako/util.py.drop-python-importlib-metadata chromium-108.0.5359.124/third_party/mako/mako/mako/util.py
|
||||||
|
--- chromium-108.0.5359.124/third_party/mako/mako/mako/util.py.drop-python-importlib-metadata 2022-12-14 01:40:09.000000000 +0100
|
||||||
|
+++ chromium-108.0.5359.124/third_party/mako/mako/mako/util.py 2022-12-28 14:07:33.761045114 +0100
|
||||||
|
@@ -11,8 +11,6 @@ import os
|
||||||
|
import re
|
||||||
|
import timeit
|
||||||
|
|
||||||
|
-from .compat import importlib_metadata_get
|
||||||
|
-
|
||||||
|
|
||||||
|
def update_wrapper(decorated, fn):
|
||||||
|
decorated.__wrapped__ = fn
|
||||||
|
@@ -28,17 +26,17 @@ class PluginLoader:
|
||||||
|
def load(self, name):
|
||||||
|
if name in self.impls:
|
||||||
|
return self.impls[name]()
|
||||||
|
+ import pkg_resources
|
||||||
|
|
||||||
|
- for impl in importlib_metadata_get(self.group):
|
||||||
|
- if impl.name == name:
|
||||||
|
- self.impls[name] = impl.load
|
||||||
|
- return impl.load()
|
||||||
|
-
|
||||||
|
- from mako import exceptions
|
||||||
|
-
|
||||||
|
- raise exceptions.RuntimeException(
|
||||||
|
- "Can't load plugin %s %s" % (self.group, name)
|
||||||
|
- )
|
||||||
|
+ for impl in pkg_resources.iter_entry_points(self.group, name):
|
||||||
|
+ self.impls[name] = impl.load
|
||||||
|
+ return impl.load()
|
||||||
|
+ else:
|
||||||
|
+ from mako import exceptions
|
||||||
|
+
|
||||||
|
+ raise exceptions.RuntimeException(
|
||||||
|
+ "Can't load plugin %s %s" % (self.group, name)
|
||||||
|
+ )
|
||||||
|
|
||||||
|
def register(self, name, modulepath, objname):
|
||||||
|
def load():
|
||||||
|
diff -up chromium-108.0.5359.124/third_party/mako/mako/setup.cfg.drop-python-importlib-metadata chromium-108.0.5359.124/third_party/mako/mako/setup.cfg
|
||||||
|
--- chromium-108.0.5359.124/third_party/mako/mako/setup.cfg.drop-python-importlib-metadata 2022-12-28 14:07:33.761045114 +0100
|
||||||
|
+++ chromium-108.0.5359.124/third_party/mako/mako/setup.cfg 2022-12-28 15:30:47.024152133 +0100
|
||||||
|
@@ -33,7 +33,6 @@ python_requires = >=3.7
|
||||||
|
zip_safe = false
|
||||||
|
install_requires =
|
||||||
|
MarkupSafe >= 0.9.2
|
||||||
|
- importlib-metadata;python_version<"3.8"
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
exclude =
|
@ -0,0 +1,36 @@
|
|||||||
|
diff -up chromium-108.0.5359.124/third_party/wayland/src/src/wayland-shm.c.me chromium-108.0.5359.124/third_party/wayland/src/src/wayland-shm.c
|
||||||
|
--- chromium-108.0.5359.124/third_party/wayland/src/src/wayland-shm.c.me 2022-12-24 11:08:03.212333476 +0100
|
||||||
|
+++ chromium-108.0.5359.124/third_party/wayland/src/src/wayland-shm.c 2022-12-24 11:08:18.316606155 +0100
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
#include <signal.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <errno.h>
|
||||||
|
-#include <fcntl.h>
|
||||||
|
+#include <linux/fcntl.h>
|
||||||
|
|
||||||
|
#include "wayland-os.h"
|
||||||
|
#include "wayland-util.h"
|
||||||
|
diff -up chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc
|
||||||
|
--- chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include 2022-06-15 10:52:49.553817031 -0400
|
||||||
|
+++ chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc 2022-06-15 10:56:15.775173013 -0400
|
||||||
|
@@ -56,6 +56,7 @@
|
||||||
|
|
||||||
|
#if V8_OS_LINUX
|
||||||
|
#include <sys/prctl.h> // for prctl
|
||||||
|
+#include <linux/memfd.h> // for MFD_CLOEXEC
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(V8_OS_FUCHSIA)
|
||||||
|
diff -up iridium-browser-2022.12.108.1/third_party/wayland/src/cursor/os-compatibility.c.me iridium-browser-2022.12.108.1/third_party/wayland/src/cursor/os-compatibility.c
|
||||||
|
--- iridium-browser-2022.12.108.1/third_party/wayland/src/cursor/os-compatibility.c.me 2022-12-08 21:59:43.502200984 +0100
|
||||||
|
+++ iridium-browser-2022.12.108.1/third_party/wayland/src/cursor/os-compatibility.c 2022-12-08 22:13:53.375653343 +0100
|
||||||
|
@@ -29,7 +29,8 @@
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
-#include <fcntl.h>
|
||||||
|
+#include <linux/fcntl.h> // for F_SEAL_SHRINK, F_ADD_SEALS, F_SEAL_SEAL
|
||||||
|
+#include <linux/memfd.h> // for MFD_CLOEXEC
|
||||||
|
#include <errno.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <string.h>
|
@ -0,0 +1,11 @@
|
|||||||
|
diff -up chromium-108.0.5359.124/third_party/wayland/src/src/scanner.c.me chromium-108.0.5359.124/third_party/wayland/src/src/scanner.c
|
||||||
|
--- chromium-108.0.5359.124/third_party/wayland/src/src/scanner.c.me 2022-12-27 16:14:22.507496575 +0100
|
||||||
|
+++ chromium-108.0.5359.124/third_party/wayland/src/src/scanner.c 2022-12-27 16:35:17.617573610 +0100
|
||||||
|
@@ -26,6 +26,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "wayland-version.h"
|
||||||
|
+#include "config.h" // HAVE_STRNDUP
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdio.h>
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -up chromium-108.0.5359.124/content/public/common/content_features.cc.me chromium-108.0.5359.124/content/public/common/content_features.cc
|
||||||
|
--- chromium-108.0.5359.124/content/public/common/content_features.cc.me 2022-12-24 11:02:56.417773922 +0100
|
||||||
|
+++ chromium-108.0.5359.124/content/public/common/content_features.cc 2022-12-24 11:04:41.641696681 +0100
|
||||||
|
@@ -1479,7 +1479,7 @@ BASE_FEATURE(kRetryGetVideoCaptureDevice
|
||||||
|
// Wayland display server.
|
||||||
|
BASE_FEATURE(kWebRtcPipeWireCapturer,
|
||||||
|
"WebRTCPipeWireCapturer",
|
||||||
|
- base::FEATURE_DISABLED_BY_DEFAULT);
|
||||||
|
+ base::FEATURE_ENABLED_BY_DEFAULT);
|
||||||
|
#endif // defined(WEBRTC_USE_PIPEWIRE)
|
||||||
|
|
||||||
|
enum class VideoCaptureServiceConfiguration {
|
@ -0,0 +1,22 @@
|
|||||||
|
--- chromium-108.0.5359.124/media/gpu/vaapi/BUILD.gn.orig 2022-12-14 01:39:52.992482000 +0100
|
||||||
|
+++ chromium-108.0.5359.124/media/gpu/vaapi/BUILD.gn 2022-12-24 11:14:19.118033967 +0100
|
||||||
|
@@ -14,6 +14,10 @@
|
||||||
|
assert(is_linux || is_chromeos)
|
||||||
|
assert(use_vaapi)
|
||||||
|
|
||||||
|
+config("vaapi_permissive") {
|
||||||
|
+ cflags = [ "-fpermissive" ]
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
generate_stubs("libva_stubs") {
|
||||||
|
extra_header = "va_stub_header.fragment"
|
||||||
|
sigs = [ "va.sigs" ]
|
||||||
|
@@ -138,6 +142,8 @@
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
+ configs += [ ":vaapi_permissive" ]
|
||||||
|
+
|
||||||
|
if (use_vaapi_x11) {
|
||||||
|
deps += [ "//ui/gfx/x" ]
|
||||||
|
sources += [
|
@ -1,22 +0,0 @@
|
|||||||
--- chromium-60.0.3112.40/build/linux/unbundle/ffmpeg.gn.ffmpeg-deprecation 2017-06-25 13:24:47.390218631 +0200
|
|
||||||
+++ chromium-60.0.3112.40/build/linux/unbundle/ffmpeg.gn 2017-06-25 13:32:48.528583949 +0200
|
|
||||||
@@ -19,6 +19,12 @@
|
|
||||||
flags = [ "USE_SYSTEM_FFMPEG=true" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
+config("ffmpeg_deprecations") {
|
|
||||||
+ if (is_linux) {
|
|
||||||
+ cflags = [ "-Wno-error=deprecated-declarations" ]
|
|
||||||
+ }
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
shim_headers("ffmpeg_shim") {
|
|
||||||
root_path = "."
|
|
||||||
headers = [
|
|
||||||
@@ -33,5 +39,5 @@
|
|
||||||
":ffmpeg_features",
|
|
||||||
":ffmpeg_shim",
|
|
||||||
]
|
|
||||||
- public_configs = [ ":system_ffmpeg" ]
|
|
||||||
+ public_configs = [ ":system_ffmpeg", ":ffmpeg_deprecations" ]
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
diff -up chromium-86.0.4240.75/media/gpu/vaapi/BUILD.gn.i686permissive chromium-86.0.4240.75/media/gpu/vaapi/BUILD.gn
|
|
||||||
--- chromium-86.0.4240.75/media/gpu/vaapi/BUILD.gn.i686permissive 2020-10-14 16:24:17.803206586 -0400
|
|
||||||
+++ chromium-86.0.4240.75/media/gpu/vaapi/BUILD.gn 2020-10-14 16:24:59.212530721 -0400
|
|
||||||
@@ -13,6 +13,10 @@ import("//ui/ozone/ozone.gni")
|
|
||||||
assert(is_linux || is_chromeos)
|
|
||||||
assert(use_vaapi)
|
|
||||||
|
|
||||||
+config("vaapi_permissive") {
|
|
||||||
+ cflags = [ "-fpermissive" ]
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
generate_stubs("libva_stubs") {
|
|
||||||
extra_header = "va_stub_header.fragment"
|
|
||||||
sigs = [ "va.sigs" ]
|
|
||||||
@@ -121,6 +125,8 @@ source_set("vaapi") {
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
+ configs += [ ":vaapi_permissive" ]
|
|
||||||
+
|
|
||||||
if (use_x11) {
|
|
||||||
deps += [ "//ui/gfx/x" ]
|
|
||||||
sources += [
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up chromium-96.0.4664.110/content/public/common/content_features.cc.enable-WebRTCPipeWireCapturer-byDefault chromium-96.0.4664.110/content/public/common/content_features.cc
|
|
||||||
--- chromium-96.0.4664.110/content/public/common/content_features.cc.enable-WebRTCPipeWireCapturer-byDefault 2021-12-20 11:24:28.862940185 -0500
|
|
||||||
+++ chromium-96.0.4664.110/content/public/common/content_features.cc 2021-12-20 11:24:43.397027114 -0500
|
|
||||||
@@ -1125,7 +1125,7 @@ const base::Feature kAuraWindowSubtreeCa
|
|
||||||
// Controls whether the PipeWire support for screen capturing is enabled on the
|
|
||||||
// Wayland display server.
|
|
||||||
const base::Feature kWebRtcPipeWireCapturer{"WebRTCPipeWireCapturer",
|
|
||||||
- base::FEATURE_DISABLED_BY_DEFAULT};
|
|
||||||
+ base::FEATURE_ENABLED_BY_DEFAULT};
|
|
||||||
#endif // defined(WEBRTC_USE_PIPEWIRE)
|
|
||||||
|
|
||||||
enum class VideoCaptureServiceConfiguration {
|
|
@ -1,127 +0,0 @@
|
|||||||
diff --git a/third_party/angle/src/libANGLE/HandleAllocator.cpp b/third_party/angle/src/libANGLE/HandleAllocator.cpp
|
|
||||||
index 013f1dfb2..3ce63c192 100644
|
|
||||||
--- a/third_party/angle/src/libANGLE/HandleAllocator.cpp
|
|
||||||
+++ b/third_party/angle/src/libANGLE/HandleAllocator.cpp
|
|
||||||
@@ -9,6 +9,7 @@
|
|
||||||
|
|
||||||
#include "libANGLE/HandleAllocator.h"
|
|
||||||
|
|
||||||
+#include <limits>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
diff --git a/third_party/perfetto/src/trace_processor/containers/string_pool.cc b/third_party/perfetto/src/trace_processor/containers/string_pool.cc
|
|
||||||
index fd651958f..1e8d0606c 100644
|
|
||||||
--- a/third_party/perfetto/src/trace_processor/containers/string_pool.cc
|
|
||||||
+++ b/third_party/perfetto/src/trace_processor/containers/string_pool.cc
|
|
||||||
@@ -14,9 +14,9 @@
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <limits>
|
|
||||||
#include "src/trace_processor/containers/string_pool.h"
|
|
||||||
|
|
||||||
-#include <limits>
|
|
||||||
|
|
||||||
#include "perfetto/base/logging.h"
|
|
||||||
#include "perfetto/ext/base/utils.h"
|
|
||||||
diff --git a/third_party/perfetto/src/trace_processor/db/column.cc b/third_party/perfetto/src/trace_processor/db/column.cc
|
|
||||||
index 00496b335..0dccfeb8a 100644
|
|
||||||
--- a/third_party/perfetto/src/trace_processor/db/column.cc
|
|
||||||
+++ b/third_party/perfetto/src/trace_processor/db/column.cc
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <limits>
|
|
||||||
#include "src/trace_processor/db/column.h"
|
|
||||||
|
|
||||||
#include "src/trace_processor/db/compare.h"
|
|
||||||
diff --git a/third_party/perfetto/src/trace_processor/types/variadic.cc b/third_party/perfetto/src/trace_processor/types/variadic.cc
|
|
||||||
index 837bfeba9..cdd56817d 100644
|
|
||||||
--- a/third_party/perfetto/src/trace_processor/types/variadic.cc
|
|
||||||
+++ b/third_party/perfetto/src/trace_processor/types/variadic.cc
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <limits>
|
|
||||||
#include "src/trace_processor/types/variadic.h"
|
|
||||||
|
|
||||||
namespace perfetto {
|
|
||||||
diff --git a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
||||||
index be91def6b..73f202356 100644
|
|
||||||
--- a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
||||||
+++ b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
||||||
@@ -245,7 +245,7 @@ static void AXPlatformAtkHyperlinkInit(AXPlatformAtkHyperlink* self, gpointer) {
|
|
||||||
}
|
|
||||||
|
|
||||||
GType ax_platform_atk_hyperlink_get_type() {
|
|
||||||
- static volatile gsize type_volatile = 0;
|
|
||||||
+ static gsize type_volatile = 0;
|
|
||||||
|
|
||||||
AXPlatformNodeAuraLinux::EnsureGTypeInit();
|
|
||||||
|
|
||||||
diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
||||||
index 04125c6fd..6c64e5d8e 100644
|
|
||||||
--- a/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
||||||
+++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
||||||
@@ -2274,7 +2274,7 @@ void ClassInit(gpointer class_pointer, gpointer /* class_data */) {
|
|
||||||
GType GetType() {
|
|
||||||
AXPlatformNodeAuraLinux::EnsureGTypeInit();
|
|
||||||
|
|
||||||
- static volatile gsize type_volatile = 0;
|
|
||||||
+ static gsize type_volatile = 0;
|
|
||||||
if (g_once_init_enter(&type_volatile)) {
|
|
||||||
static const GTypeInfo type_info = {
|
|
||||||
sizeof(AXPlatformNodeAuraLinuxClass), // class_size
|
|
||||||
diff --git a/ui/gtk/gtk_key_bindings_handler.cc b/ui/gtk/gtk_key_bindings_handler.cc
|
|
||||||
index c663a2074..38a342484 100644
|
|
||||||
--- a/ui/gtk/gtk_key_bindings_handler.cc
|
|
||||||
+++ b/ui/gtk/gtk_key_bindings_handler.cc
|
|
||||||
@@ -141,7 +141,7 @@ void GtkKeyBindingsHandler::HandlerClassInit(HandlerClass* klass) {
|
|
||||||
}
|
|
||||||
|
|
||||||
GType GtkKeyBindingsHandler::HandlerGetType() {
|
|
||||||
- static volatile gsize type_id_volatile = 0;
|
|
||||||
+ static gsize type_id_volatile = 0;
|
|
||||||
if (g_once_init_enter(&type_id_volatile)) {
|
|
||||||
GType type_id = g_type_register_static_simple(
|
|
||||||
GTK_TYPE_TEXT_VIEW, g_intern_static_string("GtkKeyBindingsHandler"),
|
|
||||||
diff --git a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
|
|
||||||
index c0b5a805b..e6f921926 100644
|
|
||||||
--- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
|
|
||||||
+++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
|
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
|
|
||||||
+#include <cstddef>
|
|
||||||
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
|
|
||||||
|
|
||||||
#include "base/observer_list.h"
|
|
||||||
diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
|
|
||||||
index 4ad2afa1f..5c4596e12 100644
|
|
||||||
--- a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
|
|
||||||
+++ b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
|
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
|
|
||||||
+#include <cstddef>
|
|
||||||
#include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
diff --git a/components/bookmarks/browser/base_bookmark_model_observer.cc b/components/bookmarks/browser/base_bookmark_model_observer.cc
|
|
||||||
index 657a3c96b..ad641a082 100644
|
|
||||||
--- a/components/bookmarks/browser/base_bookmark_model_observer.cc
|
|
||||||
+++ b/components/bookmarks/browser/base_bookmark_model_observer.cc
|
|
||||||
@@ -2,6 +2,8 @@
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
|
|
||||||
+#include <cstddef>
|
|
||||||
+
|
|
||||||
#include "components/bookmarks/browser/base_bookmark_model_observer.h"
|
|
||||||
|
|
||||||
namespace bookmarks {
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue