diff options
Diffstat (limited to 'Userland/Utilities/headless-browser.cpp')
-rw-r--r-- | Userland/Utilities/headless-browser.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp index 61dd68acb9..526e05a363 100644 --- a/Userland/Utilities/headless-browser.cpp +++ b/Userland/Utilities/headless-browser.cpp @@ -16,7 +16,6 @@ #include <LibCore/ConfigFile.h> #include <LibCore/EventLoop.h> #include <LibCore/File.h> -#include <LibCore/MemoryStream.h> #include <LibCore/Stream.h> #include <LibCore/System.h> #include <LibCore/SystemServerTakeover.h> @@ -343,7 +342,7 @@ public: private: HTTPHeadlessRequest(HTTP::HttpRequest&& request, NonnullOwnPtr<Core::Stream::BufferedSocketBase> socket, ByteBuffer&& stream_backing_buffer) : m_stream_backing_buffer(move(stream_backing_buffer)) - , m_output_stream(Core::Stream::FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) + , m_output_stream(FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) , m_socket(move(socket)) , m_job(HTTP::Job::construct(move(request), *m_output_stream)) { @@ -369,7 +368,7 @@ public: Optional<u32> m_response_code; ByteBuffer m_stream_backing_buffer; - NonnullOwnPtr<Core::Stream::FixedMemoryStream> m_output_stream; + NonnullOwnPtr<FixedMemoryStream> m_output_stream; NonnullOwnPtr<Core::Stream::BufferedSocketBase> m_socket; NonnullRefPtr<HTTP::Job> m_job; HashMap<DeprecatedString, DeprecatedString, CaseInsensitiveStringTraits> m_response_headers; @@ -422,7 +421,7 @@ public: private: HTTPSHeadlessRequest(HTTP::HttpRequest&& request, NonnullOwnPtr<Core::Stream::BufferedSocketBase> socket, ByteBuffer&& stream_backing_buffer) : m_stream_backing_buffer(move(stream_backing_buffer)) - , m_output_stream(Core::Stream::FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) + , m_output_stream(FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) , m_socket(move(socket)) , m_job(HTTP::HttpsJob::construct(move(request), *m_output_stream)) { @@ -448,7 +447,7 @@ public: Optional<u32> m_response_code; ByteBuffer m_stream_backing_buffer; - NonnullOwnPtr<Core::Stream::FixedMemoryStream> m_output_stream; + NonnullOwnPtr<FixedMemoryStream> m_output_stream; NonnullOwnPtr<Core::Stream::BufferedSocketBase> m_socket; NonnullRefPtr<HTTP::HttpsJob> m_job; HashMap<DeprecatedString, DeprecatedString, CaseInsensitiveStringTraits> m_response_headers; @@ -491,7 +490,7 @@ public: private: GeminiHeadlessRequest(Gemini::GeminiRequest&& request, NonnullOwnPtr<Core::Stream::BufferedSocketBase> socket, ByteBuffer&& stream_backing_buffer) : m_stream_backing_buffer(move(stream_backing_buffer)) - , m_output_stream(Core::Stream::FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) + , m_output_stream(FixedMemoryStream::construct(m_stream_backing_buffer.bytes()).release_value_but_fixme_should_propagate_errors()) , m_socket(move(socket)) , m_job(Gemini::Job::construct(move(request), *m_output_stream)) { @@ -517,7 +516,7 @@ public: Optional<u32> m_response_code; ByteBuffer m_stream_backing_buffer; - NonnullOwnPtr<Core::Stream::FixedMemoryStream> m_output_stream; + NonnullOwnPtr<FixedMemoryStream> m_output_stream; NonnullOwnPtr<Core::Stream::BufferedSocketBase> m_socket; NonnullRefPtr<Gemini::Job> m_job; HashMap<DeprecatedString, DeprecatedString, CaseInsensitiveStringTraits> m_response_headers; |