summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/constructor.patch
blob: 64fc6641fd6f3b63065e0775f15e119aa08ea337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 {