Searched refs:oldResource (Results 1 – 4 of 4) sorted by relevance
71 ResourcePtr<Resource> oldResource = oldResourcePointer; in TEST() local73 memoryCache()->add(oldResource.get()); in TEST()74 memoryCache()->remove(oldResource.get()); in TEST()84 …EXPECT_EQ(memoryCache()->resourceForURL(KURL(ParsedURLString, "data:text/html,")), oldResource.get… in TEST()85 EXPECT_EQ(oldResource.get(), newResource.get()); in TEST()
88 if (ResourcePtr<ResourceType> oldResource = m_resource) { in setResource() local90 oldResource->removeClient(this); in setResource()
113 void replace(Resource* newResource, Resource* oldResource);
121 void MemoryCache::replace(Resource* newResource, Resource* oldResource) in replace() argument123 evict(oldResource); in replace()