]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Documentation/mknews.perl
wwwstream: reduce object graph depth
[public-inbox.git] / Documentation / mknews.perl
index 2d22d147ec4181ec9fa816a90912741555100b47..1bd704e68247afe18b6b85b76f4d4cd7bc52d284 100755 (executable)
@@ -112,7 +112,7 @@ sub html_start {
        my ($out, $ctx) = @_;
        require PublicInbox::WwwStream;
        $ctx->{www} = My::MockObject->new(style => '');
-       my $www_stream = PublicInbox::WwwStream->new($ctx);
+       my $www_stream = PublicInbox::WwwStream::init($ctx);
        print $out $www_stream->_html_top, '<pre>' or die;
 }