| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index 9c6aca3117d6cee362021f6b2d0087b8ce3fa668..47b250aa29916e65a25dc0fba36db11aa957e0ce 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -128,17 +128,6 @@ static bool prepareResourceBuffer(Resource* cachedResource, bool* hasZeroSize)
|
| return true;
|
| }
|
|
|
| - if (cachedResource->isPurgeable()) {
|
| - // If the resource is purgeable then make it unpurgeable to get
|
| - // get its data. This might fail, in which case we return an
|
| - // empty String.
|
| - // FIXME: should we do something else in the case of a purged
|
| - // resource that informs the user why there is no data in the
|
| - // inspector?
|
| - if (!cachedResource->lock())
|
| - return false;
|
| - }
|
| -
|
| *hasZeroSize = false;
|
| return true;
|
| }
|
|
|