| Index: third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp b/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp
|
| index d02cf52ddfaa17dfc226a6cbd7796c0fa70565da..57dcb78a5fe122279e70b69e1a70b8fd79c803a8 100644
|
| --- a/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp
|
| @@ -236,8 +236,10 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, Re
|
| memoryCache()->setCapacities(minDeadCapacity, maxDeadCapacity, totalCapacity);
|
| const char data[6] = "abcde";
|
| cachedDeadResource->appendData(data, 3u);
|
| + cachedDeadResource->finish();
|
| MockImageResourceClient client(cachedLiveResource);
|
| cachedLiveResource->appendData(data, 4u);
|
| + cachedLiveResource->finish();
|
|
|
| Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&runTask1, PassRefPtrWillBeRawPtr<Resource>(cachedLiveResource), PassRefPtrWillBeRawPtr<Resource>(cachedDeadResource)));
|
| Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&runTask2, cachedLiveResource->encodedSize() + cachedLiveResource->overheadSize()));
|
|
|