| 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 0035e20190b8ec815b98b4637e750dad196751a3..5ee37c948f08ad9e2589748e0ce3039b9653e985 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| @@ -303,17 +303,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;
|
| @@ -462,7 +456,6 @@ void Resource::responseReceived(const ResourceResponse& response, PassOwnPtr<Web
|
| }
|
| revalidationFailed();
|
| }
|
| -
|
| setResponse(response);
|
| String encoding = response.textEncodingName();
|
| if (!encoding.isNull())
|
|
|