Bug 236736 - Mark SharedBuffer used by CachedResource::m_data const
Summary: Mark SharedBuffer used by CachedResource::m_data const
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on: 236695
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-16 14:54 PST by Jean-Yves Avenard [:jya]
Modified: 2022-02-19 23:24 PST (History)
1 user (show)

See Also:


Attachments
Patch for EWS (171.49 KB, patch)
2022-02-17 03:29 PST, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (203.94 KB, patch)
2022-02-18 00:56 PST, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (271.55 KB, patch)
2022-02-18 05:04 PST, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (274.89 KB, patch)
2022-02-19 23:18 PST, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2022-02-16 14:54:21 PST
In bug https://bugs.webkit.org/show_bug.cgi?id=236695 we had to add a few const_cast which isn't particularly elegant.
The CachedResource::m_data should be made a const FragmentedSharedBuffer
Comment 1 Radar WebKit Bug Importer 2022-02-16 14:54:53 PST
<rdar://problem/89050403>
Comment 2 Jean-Yves Avenard [:jya] 2022-02-17 03:29:36 PST
Created attachment 452345 [details]
Patch for EWS
Comment 3 Jean-Yves Avenard [:jya] 2022-02-18 00:56:31 PST
Created attachment 452494 [details]
Patch
Comment 4 Jean-Yves Avenard [:jya] 2022-02-18 05:04:18 PST
Created attachment 452510 [details]
Patch
Comment 5 Jean-Yves Avenard [:jya] 2022-02-19 23:18:14 PST
Created attachment 452680 [details]
Patch