Searched refs:oldResource (Results 1 – 5 of 5) 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()
173 void replace(Resource* newResource, Resource* oldResource);
163 void MemoryCache::replace(Resource* newResource, Resource* oldResource) in replace() argument165 if (MemoryCacheEntry* oldEntry = m_resources.get(oldResource->url())) in replace()
427 if (Resource* oldResource = memoryCache()->resourceForURL(url)) in preCacheSubstituteDataForMainResource() local428 memoryCache()->remove(oldResource); in preCacheSubstituteDataForMainResource()