DescriptionMake Resource::m_response private
This CL makes |Resource::m_response| private and replaces the usage of
this with |response()| calls.
There was only one place where |m_response| was updated in the
subclasses of Resource. This was in
|ImageResource::onePartInMultipartReceived| and replaced with
|setResponse()|. |setResponse()| updates not only |m_response| but
also |m_cacheHandler|. Calling |setReponse()| is more appropriate
for caching of a response which is multipart and fetched from
ServiceWorker.
BUG=n/a
TEST=webkit_unit_tests --gtest_filter=ImageResourceTest.*
Committed: https://crrev.com/5654f67165722ecac55bf646fd3821fc4f354b5c
Cr-Commit-Position: refs/heads/master@{#408399}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 12 (7 generated)
|