| Index: third_party/WebKit/Source/core/fetch/Resource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| index 48d35eb5c52429329d1e625ce723b156d05c3b94..dc0cc9944d798c8394b60e21587a1e987d18dd6b 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| @@ -304,17 +304,11 @@ void Resource::error(Resource::Status status)
|
| markClientsFinished();
|
| }
|
|
|
| -void Resource::finishOnePart()
|
| -{
|
| - setLoading(false);
|
| - checkNotify();
|
| -}
|
| -
|
| void Resource::finish()
|
| {
|
| ASSERT(m_revalidatingRequest.isNull());
|
| - ASSERT(!errorOccurred());
|
| - finishOnePart();
|
| + setLoading(false);
|
| + checkNotify();
|
| markClientsFinished();
|
| if (!errorOccurred())
|
| m_status = Cached;
|
| @@ -463,7 +457,6 @@ void Resource::responseReceived(const ResourceResponse& response, PassOwnPtr<Web
|
| }
|
| revalidationFailed();
|
| }
|
| -
|
| setResponse(response);
|
| String encoding = response.textEncodingName();
|
| if (!encoding.isNull())
|
|
|