Chromium Code Reviews| Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp |
| diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
| index d0267f99ccf05b41ce82815333f210a8c96abad3..8b321285e553ad158ac87d82351d3205126d6849 100644 |
| --- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
| +++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
| @@ -420,6 +420,7 @@ void ImageResource::finish(double loadFinishTime) { |
| // document: |
| // https://docs.google.com/document/d/1v0yTAZ6wkqX2U_M6BNIGUJpM1s0TIw1VsqpxoL7aciY/edit?usp=sharing |
| clearData(); |
| + setEncodedSize(0); |
|
haraken
2016/10/05 05:59:39
Would it be better to move setEncodedSize into cle
hajimehoshi
2016/10/05 06:04:31
I agree but hiroshige@ will do this in another CL.
|
| } |
| Resource::finish(loadFinishTime); |
| } |