summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWebView
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-01-22 05:09:11 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-29 19:16:44 -0700
commit8464da143987e290fa3d9ad739b491e6adbffee6 (patch)
tree58905a6ac790d1e2368b9132403b190271617c4b /Userland/Libraries/LibWebView
parent5f2ea31816612dead5bc7ac59d27da0bc4b45736 (diff)
downloadserenity-8464da143987e290fa3d9ad739b491e6adbffee6.zip
AK: Move `Stream` and `SeekableStream` from `LibCore`
`Stream` will be qualified as `AK::Stream` until we remove the `Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is defined by `SeekableStream`, since defining its own would require us to qualify it with `AK::SeekMode` everywhere.
Diffstat (limited to 'Userland/Libraries/LibWebView')
-rw-r--r--Userland/Libraries/LibWebView/RequestServerAdapter.cpp2
-rw-r--r--Userland/Libraries/LibWebView/RequestServerAdapter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWebView/RequestServerAdapter.cpp b/Userland/Libraries/LibWebView/RequestServerAdapter.cpp
index 21a87bfdce..5dcac0eca8 100644
--- a/Userland/Libraries/LibWebView/RequestServerAdapter.cpp
+++ b/Userland/Libraries/LibWebView/RequestServerAdapter.cpp
@@ -64,7 +64,7 @@ bool RequestServerRequestAdapter::stop()
return m_request->stop();
}
-void RequestServerRequestAdapter::stream_into(Core::Stream::Stream& stream)
+void RequestServerRequestAdapter::stream_into(AK::Stream& stream)
{
m_request->stream_into(stream);
}
diff --git a/Userland/Libraries/LibWebView/RequestServerAdapter.h b/Userland/Libraries/LibWebView/RequestServerAdapter.h
index 7919502fb5..728e441d84 100644
--- a/Userland/Libraries/LibWebView/RequestServerAdapter.h
+++ b/Userland/Libraries/LibWebView/RequestServerAdapter.h
@@ -27,7 +27,7 @@ public:
virtual void set_should_buffer_all_input(bool) override;
virtual bool stop() override;
- virtual void stream_into(Core::Stream::Stream&) override;
+ virtual void stream_into(AK::Stream&) override;
private:
RequestServerRequestAdapter(NonnullRefPtr<Protocol::Request>);