summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/constructor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.96/constructor.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.96/constructor.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.96/constructor.patch b/patches/www-client/chromium-72.0.3626.96/constructor.patch
new file mode 100644
index 0000000..64fc664
--- /dev/null
+++ b/patches/www-client/chromium-72.0.3626.96/constructor.patch
@@ -0,0 +1,21 @@
+description: constructor of Algorithm needs to be public
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/third_party/blink/renderer/core/streams/transform_stream.cc
++++ b/third_party/blink/renderer/core/streams/transform_stream.cc
+@@ -39,7 +39,6 @@ class TransformStream::Algorithm : publi
+ ScriptFunction::Trace(visitor);
+ }
+
+- protected:
+ Algorithm(TransformStreamTransformer* transformer,
+ ScriptState* script_state,
+ ExceptionState& exception_state)
+@@ -48,6 +47,7 @@ class TransformStream::Algorithm : publi
+ interface_name_(exception_state.InterfaceName()),
+ property_name_(exception_state.PropertyName()) {}
+
++ protected:
+ // AlgorithmScope holds the stack-allocated objects used by the CallRaw()
+ // methods for FlushAlgorithm and TransformAlgorithm.
+ class AlgorithmScope {