mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibWeb: Fix a few const-ness issues
This commit is contained in:
parent
70a2ca7fc0
commit
c0b2fa74ac
36 changed files with 123 additions and 121 deletions
|
@ -34,8 +34,8 @@ public:
|
|||
[[nodiscard]] JS::NonnullGCPtr<FetchController> controller() const { return m_controller; }
|
||||
[[nodiscard]] JS::NonnullGCPtr<FetchTimingInfo> timing_info() const { return m_timing_info; }
|
||||
|
||||
[[nodiscard]] JS::NonnullGCPtr<FetchAlgorithms> algorithms() const { return m_algorithms; }
|
||||
void set_algorithms(JS::NonnullGCPtr<FetchAlgorithms> algorithms) { m_algorithms = algorithms; }
|
||||
[[nodiscard]] JS::NonnullGCPtr<FetchAlgorithms const> algorithms() const { return m_algorithms; }
|
||||
void set_algorithms(JS::NonnullGCPtr<FetchAlgorithms const> algorithms) { m_algorithms = algorithms; }
|
||||
|
||||
[[nodiscard]] TaskDestination& task_destination() { return m_task_destination; }
|
||||
[[nodiscard]] TaskDestination const& task_destination() const { return m_task_destination; }
|
||||
|
@ -74,7 +74,7 @@ private:
|
|||
// https://fetch.spec.whatwg.org/#fetch-params-process-response-consume-body
|
||||
// process response consume body (default null)
|
||||
// Null or an algorithm.
|
||||
JS::NonnullGCPtr<FetchAlgorithms> m_algorithms;
|
||||
JS::NonnullGCPtr<FetchAlgorithms const> m_algorithms;
|
||||
|
||||
// https://fetch.spec.whatwg.org/#fetch-params-task-destination
|
||||
// task destination (default null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue