| Index: third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/RawResource.cpp b/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| index d817be79df859cf44bc234d9e9b669e94e9db96a..7727f25d7d8b26c480f914c336382333f6094c67 100644
|
| --- a/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/RawResource.cpp
|
| @@ -115,8 +115,8 @@ void RawResource::didAddClient(ResourceClient* c)
|
| return;
|
| }
|
|
|
| - if (!m_response.isNull())
|
| - client->responseReceived(this, m_response, nullptr);
|
| + if (!response().isNull())
|
| + client->responseReceived(this, response(), nullptr);
|
| if (!clientWeak || !hasClient(c))
|
| return;
|
| if (m_data)
|
| @@ -153,7 +153,7 @@ void RawResource::responseReceived(const ResourceResponse& response, std::unique
|
| while (RawResourceClient* c = w.next()) {
|
| // |handle| is cleared when passed, but it's not a problem because
|
| // |handle| is null when there are two or more clients, as asserted.
|
| - c->responseReceived(this, m_response, std::move(handle));
|
| + c->responseReceived(this, this->response(), std::move(handle));
|
| }
|
|
|
| // If we successfully revalidated, we won't get appendData() calls.
|
|
|