From 1931d6226d12382abfbff8bf5b91eda248f32b0b Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Tue, 26 Mar 2019 22:06:32 -0600 Subject: Add chromium-73 patches Add patches from the debian project, refreshed from chromium-73. Do not need GCC-6 fixes, as we have updated to GCC-8. Signed-off-by: Kenny Ballou --- .../chromium-73.0.3683.75/namespace.patch | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 patches/www-client/chromium-73.0.3683.75/namespace.patch (limited to 'patches/www-client/chromium-73.0.3683.75/namespace.patch') diff --git a/patches/www-client/chromium-73.0.3683.75/namespace.patch b/patches/www-client/chromium-73.0.3683.75/namespace.patch new file mode 100644 index 0000000..50b5ce0 --- /dev/null +++ b/patches/www-client/chromium-73.0.3683.75/namespace.patch @@ -0,0 +1,68 @@ +description: jumbo build has trouble with these namespaces +author: Michael Gilbert + +--- a/chrome/browser/apps/platform_apps/api/sync_file_system/extension_sync_event_observer.h ++++ b/chrome/browser/apps/platform_apps/api/sync_file_system/extension_sync_event_observer.h +@@ -81,8 +81,10 @@ class ExtensionSyncEventObserver : publi + } // namespace api + } // namespace chrome_apps + ++namespace extensions { + template <> +-void extensions::BrowserContextKeyedAPIFactory< ++void BrowserContextKeyedAPIFactory< + chrome_apps::api::ExtensionSyncEventObserver>::DeclareFactoryDependencies(); ++} + + #endif // CHROME_BROWSER_APPS_PLATFORM_APPS_API_SYNC_FILE_SYSTEM_EXTENSION_SYNC_EVENT_OBSERVER_H_ +--- a/third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h ++++ b/third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h +@@ -12,14 +12,20 @@ + #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h" + + // Conversion from CString to TraceValue so that trace arguments can be strings. ++namespace base { ++namespace trace_event { ++ + template <> +-struct base::trace_event::TraceValue::Helper { ++struct TraceValue::Helper { + static constexpr unsigned char kType = TRACE_VALUE_TYPE_COPY_STRING; + static inline void SetValue(TraceValue* v, const WTF::CString& value) { + v->as_string = value.data(); + } + }; + ++} // namespace trace_event ++} // namespace base ++ + namespace blink { + namespace trace_event { + +--- a/gin/v8_platform.cc ++++ b/gin/v8_platform.cc +@@ -268,10 +268,13 @@ base::LazyInstance::Leaky + + } // namespace gin + ++namespace base { ++namespace trace_event { ++ + // Allow std::unique_ptr to be a valid + // initialization value for trace macros. + template <> +-struct base::trace_event::TraceValue::Helper< ++struct TraceValue::Helper< + std::unique_ptr> { + static constexpr unsigned char kType = TRACE_VALUE_TYPE_CONVERTABLE; + static inline void SetValue( +@@ -284,6 +287,9 @@ struct base::trace_event::TraceValue::He + } + }; + ++} // namespace trace_event ++} // namespace base ++ + namespace gin { + + class V8Platform::TracingControllerImpl : public v8::TracingController { -- cgit v1.2.1