WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226943
Use SharedBuffer!=() in CachedResource::tryReplaceEncodedData()
https://bugs.webkit.org/show_bug.cgi?id=226943
Summary
Use SharedBuffer!=() in CachedResource::tryReplaceEncodedData()
Chris Dumez
Reported
2021-06-11 15:27:44 PDT
Use SharedBuffer!=() in CachedResource::tryReplaceEncodedData() instead of duplicating its logic. SharedBuffer==() is also potentially more efficient since it doesn't requires combining the SharedBuffers' data segments.
Attachments
Patch
(2.09 KB, patch)
2021-06-11 15:29 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(2.08 KB, patch)
2021-06-11 15:33 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-06-11 15:29:14 PDT
Created
attachment 431235
[details]
Patch
Geoffrey Garen
Comment 2
2021-06-11 15:32:06 PDT
Comment on
attachment 431235
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431235&action=review
r=me
> Source/WebCore/loader/cache/CachedResource.cpp:917 > + // We have to do the compare the buffers because we can't tell if the replacement file backed data is for the
to do the compare the buffers => compare the buffers
Chris Dumez
Comment 3
2021-06-11 15:33:30 PDT
Created
attachment 431236
[details]
Patch
EWS
Comment 4
2021-06-11 16:36:40 PDT
Committed
r278793
(
238750@main
): <
https://commits.webkit.org/238750@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431236
[details]
.
Radar WebKit Bug Importer
Comment 5
2021-06-11 16:37:19 PDT
<
rdar://problem/79222229
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug