Searched refs:hasZeroSize (Results 1 – 1 of 1) sorted by relevance
130 static bool prepareResourceBuffer(Resource* cachedResource, bool* hasZeroSize) in prepareResourceBuffer() argument132 *hasZeroSize = false; in prepareResourceBuffer()141 *hasZeroSize = true; in prepareResourceBuffer()181 bool hasZeroSize; in cachedResourceContent() local182 bool prepared = prepareResourceBuffer(cachedResource, &hasZeroSize); in cachedResourceContent()188 …RefPtr<SharedBuffer> buffer = hasZeroSize ? SharedBuffer::create() : cachedResource->resourceBuffe… in cachedResourceContent()197 if (hasZeroSize) { in cachedResourceContent()