cachedImage 724 Source/core/accessibility/AXRenderObject.cpp if (image->cachedImage()) { cachedImage 725 Source/core/accessibility/AXRenderObject.cpp LayoutSize imageSize = image->cachedImage()->imageSizeForRenderer(m_renderer, image->view()->zoomFactor()); cachedImage 2056 Source/core/accessibility/AXRenderObject.cpp ImageResource* cachedImage = toRenderImage(m_renderer)->cachedImage(); cachedImage 2057 Source/core/accessibility/AXRenderObject.cpp if (!cachedImage) cachedImage 2060 Source/core/accessibility/AXRenderObject.cpp Image* image = cachedImage->image(); cachedImage 226 Source/core/clipboard/Clipboard.cpp setDragImageResource(toHTMLImageElement(*image).cachedImage(), location); cachedImage 264 Source/core/clipboard/Clipboard.cpp if (image->cachedImage() && !image->cachedImage()->errorOccurred()) cachedImage 265 Source/core/clipboard/Clipboard.cpp return image->cachedImage(); cachedImage 273 Source/core/clipboard/Clipboard.cpp ImageResource* cachedImage = getImageResource(element); cachedImage 274 Source/core/clipboard/Clipboard.cpp if (!cachedImage || !cachedImage->imageForRenderer(element->renderer()) || !cachedImage->isLoaded()) cachedImage 277 Source/core/clipboard/Clipboard.cpp SharedBuffer* imageBuffer = cachedImage->imageForRenderer(element->renderer())->data(); cachedImage 281 Source/core/clipboard/Clipboard.cpp String imageExtension = cachedImage->image()->filenameExtension(); cachedImage 285 Source/core/clipboard/Clipboard.cpp String filename = cachedImage->response().suggestedFilename(); cachedImage 69 Source/core/css/CSSCrossfadeValue.cpp StyleFetchedImage* styleImageResource = toCSSImageValue(value)->cachedImage(fetcher); cachedImage 73 Source/core/css/CSSCrossfadeValue.cpp return styleImageResource->cachedImage(); cachedImage 135 Source/core/css/CSSCursorImageValue.cpp StyleFetchedImage* cachedImage = svgImageValue->cachedImage(loader); cachedImage 136 Source/core/css/CSSCursorImageValue.cpp m_image = cachedImage; cachedImage 137 Source/core/css/CSSCursorImageValue.cpp return cachedImage; cachedImage 142 Source/core/css/CSSCursorImageValue.cpp m_image = toCSSImageValue(m_imageValue.get())->cachedImage(loader); cachedImage 176 Source/core/css/CSSCursorImageValue.cpp return toStyleFetchedImage(m_image)->cachedImage()->url().string(); cachedImage 54 Source/core/css/CSSCursorImageValue.h StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); cachedImage 111 Source/core/css/CSSImageSetValue.cpp if (ResourcePtr<ImageResource> cachedImage = loader->fetchImage(request)) { cachedImage 112 Source/core/css/CSSImageSetValue.cpp m_imageSet = StyleFetchedImageSet::create(cachedImage.get(), image.scaleFactor, this); cachedImage 175 Source/core/css/CSSImageSetValue.cpp if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet)->cachedImage()) cachedImage 69 Source/core/css/CSSImageValue.cpp if (ResourcePtr<ImageResource> cachedImage = fetcher->fetchImage(request)) cachedImage 70 Source/core/css/CSSImageValue.cpp m_image = StyleFetchedImage::create(cachedImage.get()); cachedImage 80 Source/core/css/CSSImageValue.cpp if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage()) cachedImage 49 Source/core/css/CSSImageValue.h StyleFetchedImage* cachedImage(ResourceFetcher*, const ResourceLoaderOptions&); cachedImage 50 Source/core/css/CSSImageValue.h StyleFetchedImage* cachedImage(ResourceFetcher* fetcher) { return cachedImage(fetcher, ResourceFetcher::defaultResourceOptions()); } cachedImage 78 Source/core/css/resolver/StyleResourceLoader.cpp return imageValue->cachedImage(fetcher, options); cachedImage 88 Source/core/css/resolver/StyleResourceLoader.cpp return cursorImageValue->cachedImage(fetcher, deviceScaleFactor); cachedImage 433 Source/core/editing/Editor.cpp ImageResource* cachedImage = renderer->cachedImage(); cachedImage 434 Source/core/editing/Editor.cpp if (!cachedImage || cachedImage->errorOccurred()) cachedImage 436 Source/core/editing/Editor.cpp Image* image = cachedImage->imageForRenderer(renderer); cachedImage 55 Source/core/fetch/ImageResourceTest.cpp ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest()); cachedImage 56 Source/core/fetch/ImageResourceTest.cpp cachedImage->setLoading(true); cachedImage 59 Source/core/fetch/ImageResourceTest.cpp cachedImage->addClient(&client); cachedImage 62 Source/core/fetch/ImageResourceTest.cpp cachedImage->responseReceived(ResourceResponse(KURL(), "multipart/x-mixed-replace", 0, nullAtom, String())); cachedImage 63 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->resourceBuffer()); cachedImage 64 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->hasImage()); cachedImage 71 Source/core/fetch/ImageResourceTest.cpp cachedImage->responseReceived(ResourceResponse(KURL(), "image/svg+xml", svgDataLength, nullAtom, String())); cachedImage 72 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->resourceBuffer()); cachedImage 73 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->hasImage()); cachedImage 78 Source/core/fetch/ImageResourceTest.cpp cachedImage->appendData(svgData, svgDataLength); cachedImage 79 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->resourceBuffer()); cachedImage 80 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->resourceBuffer()->size(), svgDataLength); cachedImage 81 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->hasImage()); cachedImage 86 Source/core/fetch/ImageResourceTest.cpp cachedImage->finish(); cachedImage 87 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->resourceBuffer()); cachedImage 88 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->errorOccurred()); cachedImage 89 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->hasImage()); cachedImage 90 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); cachedImage 91 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->image()->width(), 1); cachedImage 92 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->image()->height(), 1); cachedImage 112 Source/core/fetch/ImageResourceTest.cpp ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest(testURL)); cachedImage 113 Source/core/fetch/ImageResourceTest.cpp cachedImage->setIdentifier(createUniqueIdentifier()); cachedImage 115 Source/core/fetch/ImageResourceTest.cpp cachedImage->load(documentLoader->fetcher(), ResourceLoaderOptions()); cachedImage 116 Source/core/fetch/ImageResourceTest.cpp memoryCache()->add(cachedImage.get()); cachedImage 119 Source/core/fetch/ImageResourceTest.cpp cachedImage->addClient(&client); cachedImage 120 Source/core/fetch/ImageResourceTest.cpp EXPECT_EQ(Resource::Pending, cachedImage->status()); cachedImage 123 Source/core/fetch/ImageResourceTest.cpp cachedImage->removeClient(&client); cachedImage 124 Source/core/fetch/ImageResourceTest.cpp EXPECT_EQ(Resource::Pending, cachedImage->status()); cachedImage 129 Source/core/fetch/ImageResourceTest.cpp EXPECT_EQ(Resource::LoadError, cachedImage->status()); cachedImage 137 Source/core/fetch/ImageResourceTest.cpp ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest()); cachedImage 138 Source/core/fetch/ImageResourceTest.cpp cachedImage->setLoading(true); cachedImage 141 Source/core/fetch/ImageResourceTest.cpp cachedImage->addClient(&client); cachedImage 144 Source/core/fetch/ImageResourceTest.cpp cachedImage->responseReceived(ResourceResponse(KURL(), "multipart/x-mixed-replace", 0, nullAtom, String())); cachedImage 170 Source/core/fetch/ImageResourceTest.cpp cachedImage->responseReceived(ResourceResponse(KURL(), "image/jpeg", jpegDataLength, nullAtom, String())); cachedImage 171 Source/core/fetch/ImageResourceTest.cpp cachedImage->appendData(reinterpret_cast<const char*>(jpegData), jpegDataLength); cachedImage 172 Source/core/fetch/ImageResourceTest.cpp cachedImage->finish(); cachedImage 173 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->errorOccurred()); cachedImage 174 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->hasImage()); cachedImage 175 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); cachedImage 179 Source/core/fetch/ImageResourceTest.cpp cachedImage->prune(); cachedImage 180 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->hasClients()); cachedImage 181 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->hasImage()); cachedImage 182 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->image()->isNull()); cachedImage 185 Source/core/fetch/ImageResourceTest.cpp cachedImage->removeClient(&client); cachedImage 186 Source/core/fetch/ImageResourceTest.cpp cachedImage->prune(); cachedImage 187 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->hasClients()); cachedImage 188 Source/core/fetch/ImageResourceTest.cpp ASSERT_FALSE(cachedImage->hasImage()); cachedImage 189 Source/core/fetch/ImageResourceTest.cpp ASSERT_TRUE(cachedImage->image()->isNull()); cachedImage 190 Source/core/frame/ImageBitmap.cpp m_bitmap = cropImage(m_imageElement->cachedImage()->image(), m_cropRect); cachedImage 199 Source/core/frame/ImageBitmap.cpp return m_imageElement->cachedImage()->image(); cachedImage 100 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->cachedImage()->image()); cachedImage 101 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); cachedImage 102 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image()); cachedImage 105 Source/core/frame/ImageBitmapTest.cpp ASSERT_NE(emptyImage.get(), imageElement->cachedImage()->image()); cachedImage 144 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageNoCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 145 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageInteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 146 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageExteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 147 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageOutsideCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 157 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageNoCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh); cachedImage 158 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageInteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh); cachedImage 159 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageExteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh); cachedImage 162 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageOutsideCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 175 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageNoCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 176 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageExteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 177 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageOutsideCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow); cachedImage 180 Source/core/frame/ImageBitmapTest.cpp ASSERT_EQ(imageInteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh); cachedImage 222 Source/core/html/HTMLImageElement.cpp if (!m_imageLoader.image() && !renderImageResource->cachedImage()) cachedImage 424 Source/core/html/HTMLImageElement.cpp if (!complete() || !cachedImage()) { cachedImage 429 Source/core/html/HTMLImageElement.cpp if (cachedImage()->errorOccurred()) { cachedImage 434 Source/core/html/HTMLImageElement.cpp RefPtr<Image> sourceImage = cachedImage()->imageForRenderer(renderer()); cachedImage 446 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); cachedImage 454 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); cachedImage 465 Source/core/html/HTMLImageElement.cpp ImageResource* image = cachedImage(); cachedImage 57 Source/core/html/HTMLImageElement.h ImageResource* cachedImage() const { return m_imageLoader.image(); } cachedImage 62 Source/core/html/HTMLImageLoader.cpp ImageResource* cachedImage = image(); cachedImage 65 Source/core/html/HTMLImageLoader.cpp ImageLoader::notifyFinished(cachedImage); cachedImage 67 Source/core/html/HTMLImageLoader.cpp bool loadError = cachedImage->errorOccurred() || cachedImage->response().httpStatusCode() >= 400; cachedImage 131 Source/core/html/ImageDocument.cpp document()->cachedImage()->appendData(data, length); cachedImage 141 Source/core/html/ImageDocument.cpp ImageResource* cachedImage = document()->cachedImage(); cachedImage 142 Source/core/html/ImageDocument.cpp cachedImage->finish(); cachedImage 143 Source/core/html/ImageDocument.cpp cachedImage->setResponse(document()->frame()->loader().documentLoader()->response()); cachedImage 147 Source/core/html/ImageDocument.cpp IntSize size = flooredIntSize(cachedImage->imageSizeForRenderer(document()->imageElement()->renderer(), 1.0f)); cachedImage 226 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); cachedImage 240 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); cachedImage 279 Source/core/html/ImageDocument.cpp if (m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)).isEmpty()) cachedImage 295 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f); cachedImage 316 Source/core/html/ImageDocument.cpp LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this)); cachedImage 360 Source/core/html/ImageDocument.cpp return m_imageElement->cachedImage(); cachedImage 43 Source/core/html/ImageDocument.h ImageResource* cachedImage(); cachedImage 3420 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> imageForRender = image->cachedImage()->imageForRenderer(image->renderer()); cachedImage 3663 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Image> imageForRender = image->cachedImage()->imageForRenderer(image->renderer()); cachedImage 5120 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!image || !image->cachedImage()) { cachedImage 5124 Source/core/html/canvas/WebGLRenderingContextBase.cpp const KURL& url = image->cachedImage()->response().url(); cachedImage 158 Source/core/html/forms/ImageInputType.cpp if (!imageLoader->image() && !imageResource->cachedImage()) cachedImage 1049 Source/core/inspector/InspectorTimelineAgent.cpp if (const ImageResource* resource = m_imageBeingPainted->cachedImage()) cachedImage 1146 Source/core/inspector/InspectorTimelineAgent.cpp const ImageResource* resource = renderImage.cachedImage(); cachedImage 290 Source/core/loader/ImageLoader.cpp ImageResource* cachedImage = imageResource->cachedImage(); cachedImage 291 Source/core/loader/ImageLoader.cpp if (m_image != cachedImage && (m_imageComplete || !cachedImage)) cachedImage 700 Source/core/page/DragController.cpp return image->cachedImage(); cachedImage 706 Source/core/page/DragController.cpp ImageResource* cachedImage = getImageResource(element); cachedImage 710 Source/core/page/DragController.cpp return (cachedImage && !cachedImage->errorOccurred()) ? cachedImage 711 Source/core/page/DragController.cpp cachedImage->image() : 0; cachedImage 1156 Source/core/page/EventHandler.cpp ImageResource* cachedImage = styleImage->cachedImage(); cachedImage 1157 Source/core/page/EventHandler.cpp if (!cachedImage) cachedImage 1163 Source/core/page/EventHandler.cpp IntSize size = cachedImage->imageForRenderer(renderer)->size(); cachedImage 1164 Source/core/page/EventHandler.cpp if (cachedImage->errorOccurred()) cachedImage 1172 Source/core/page/EventHandler.cpp Image* image = cachedImage->imageForRenderer(renderer); cachedImage 231 Source/core/page/PageSerializer.cpp ImageResource* cachedImage = imageElement.cachedImage(); cachedImage 232 Source/core/page/PageSerializer.cpp addImageToResources(cachedImage, imageElement.renderer(), url); cachedImage 237 Source/core/page/PageSerializer.cpp ImageResource* cachedImage = inputElement.imageLoader()->image(); cachedImage 238 Source/core/page/PageSerializer.cpp addImageToResources(cachedImage, inputElement.renderer(), url); cachedImage 362 Source/core/page/PageSerializer.cpp addImageToResources(styleImage->cachedImage(), 0, styleImage->cachedImage()->url()); cachedImage 263 Source/core/rendering/HitTestResult.cpp if (image->cachedImage() && !image->cachedImage()->errorOccurred()) cachedImage 264 Source/core/rendering/HitTestResult.cpp return image->cachedImage()->imageForRenderer(image); cachedImage 188 Source/core/rendering/RenderBlock.cpp if (styleImage && styleImage->cachedImage()) { cachedImage 189 Source/core/rendering/RenderBlock.cpp ImageResource* imageResource = styleImage->cachedImage(); cachedImage 191 Source/core/rendering/RenderBlock.cpp imageResources.append(styleImage->cachedImage()); cachedImage 165 Source/core/rendering/RenderImage.cpp if (m_imageResource->cachedImage() && m_imageResource->cachedImage()->hasDevicePixelRatioHeaderValue()) cachedImage 166 Source/core/rendering/RenderImage.cpp m_imageDevicePixelRatio = 1 / m_imageResource->cachedImage()->devicePixelRatioHeaderValue(); cachedImage 178 Source/core/rendering/RenderImage.cpp imageSizeChanged = setImageSizeForAltText(m_imageResource->cachedImage()); cachedImage 284 Source/core/rendering/RenderImage.cpp if (newImage == m_imageResource->cachedImage()) { cachedImage 492 Source/core/rendering/RenderImage.cpp if (m_imageResource->cachedImage() && !m_imageResource->cachedImage()->isLoaded()) cachedImage 511 Source/core/rendering/RenderImage.cpp return m_imageResource->cachedImage() && m_imageResource->cachedImage()->currentFrameKnownToBeOpaque(this); cachedImage 580 Source/core/rendering/RenderImage.cpp if (!m_imageResource || !m_imageResource->cachedImage() || m_imageResource->cachedImage()->isLoaded()) cachedImage 603 Source/core/rendering/RenderImage.cpp ResourceLoadPriorityOptimizer::resourceLoadPriorityOptimizer()->notifyImageResourceVisibility(m_imageResource->cachedImage(), status, screenArea); cachedImage 641 Source/core/rendering/RenderImage.cpp ImageResource* cachedImage = m_imageResource->cachedImage(); cachedImage 642 Source/core/rendering/RenderImage.cpp if (cachedImage && cachedImage->image() && cachedImage->image()->isSVGImage()) cachedImage 643 Source/core/rendering/RenderImage.cpp return toSVGImage(cachedImage->image())->embeddedContentBox(); cachedImage 47 Source/core/rendering/RenderImage.h ImageResource* cachedImage() const { return m_imageResource ? m_imageResource->cachedImage() : 0; } cachedImage 51 Source/core/rendering/RenderImageResource.h ImageResource* cachedImage() const { return m_cachedImage.get(); } cachedImage 52 Source/core/rendering/RenderImageResourceStyleImage.cpp m_cachedImage = toStyleFetchedImage(m_styleImage)->cachedImage(); cachedImage 1627 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (ImageResource* cachedImage = imageRenderer->cachedImage()) { cachedImage 1628 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (!cachedImage->hasImage()) cachedImage 1631 Source/core/rendering/compositing/CompositedLayerMapping.cpp Image* image = cachedImage->imageForRenderer(imageRenderer); cachedImage 1656 Source/core/rendering/compositing/CompositedLayerMapping.cpp ImageResource* cachedImage = imageRenderer->cachedImage(); cachedImage 1657 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (!cachedImage) cachedImage 1660 Source/core/rendering/compositing/CompositedLayerMapping.cpp Image* image = cachedImage->imageForRenderer(imageRenderer); cachedImage 1665 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (!cachedImage->isLoaded()) cachedImage 94 Source/core/rendering/shapes/ShapeInfo.cpp image = styleImage->cachedImage()->imageForRenderer(renderBox); cachedImage 48 Source/core/rendering/shapes/ShapeOutsideInfo.cpp return shapeValue->isImageValid() && checkShapeImageOrigin(box.document(), *(shapeValue->image()->cachedImage())); cachedImage 75 Source/core/rendering/style/ShapeValue.h bool isImageValid() const { return image() && image()->cachedImage() && image()->cachedImage()->hasImage(); } cachedImage 58 Source/core/rendering/style/StyleFetchedImage.h virtual ImageResource* cachedImage() const OVERRIDE { return m_image.get(); } cachedImage 73 Source/core/rendering/style/StyleFetchedImageSet.h virtual ImageResource* cachedImage() const OVERRIDE { return m_bestFitImage.get(); } cachedImage 69 Source/core/rendering/style/StyleImage.h virtual ImageResource* cachedImage() const { return 0; } cachedImage 73 Source/core/rendering/svg/RenderSVGImage.cpp if (ImageResource* cachedImage = m_imageResource->cachedImage()) { cachedImage 74 Source/core/rendering/svg/RenderSVGImage.cpp LayoutSize intrinsicSize = cachedImage->imageSizeForRenderer(0, style()->effectiveZoom()); cachedImage 64 Source/core/svg/SVGImageElement.cpp if (Image* image = renderSVGImage->imageResource()->cachedImage()->image()) cachedImage 54 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (ImageResource* cachedImage = image->cachedImage()) cachedImage 55 Source/modules/imagebitmap/ImageBitmapFactories.cpp return cachedImage->imageSizeForRenderer(image->renderer(), 1.0f); // FIXME: Not sure about this. cachedImage 93 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()) { cachedImage 97 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (image->cachedImage()->image()->isSVGImage()) { cachedImage 105 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()->image()->currentFrameHasSingleSecurityOrigin()) { cachedImage 109 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->cachedImage()->passesAccessControlCheck(eventTarget.toDOMWindow()->document()->securityOrigin()) && eventTarget.toDOMWindow()->document()->securityOrigin()->taintsCanvas(image->src())) { cachedImage 90 Source/platform/graphics/ImageDecodingStore.cpp bool ImageDecodingStore::lockCache(const ImageFrameGenerator* generator, const SkISize& scaledSize, size_t index, const ScaledImageFragment** cachedImage) cachedImage 92 Source/platform/graphics/ImageDecodingStore.cpp ASSERT(cachedImage); cachedImage 101 Source/platform/graphics/ImageDecodingStore.cpp return lockCacheEntryInternal(iter->value.get(), cachedImage, &cacheEntriesToDelete); cachedImage 105 Source/platform/graphics/ImageDecodingStore.cpp void ImageDecodingStore::unlockCache(const ImageFrameGenerator* generator, const ScaledImageFragment* cachedImage) cachedImage 110 Source/platform/graphics/ImageDecodingStore.cpp cachedImage->bitmap().unlockPixels(); cachedImage 111 Source/platform/graphics/ImageDecodingStore.cpp ImageCacheMap::iterator iter = m_imageCacheMap.find(ImageCacheEntry::makeCacheKey(generator, cachedImage->scaledSize(), cachedImage->index(), cachedImage->generation())); cachedImage 336 Source/platform/graphics/ImageDecodingStore.cpp bool ImageDecodingStore::lockCacheEntryInternal(ImageCacheEntry* cacheEntry, const ScaledImageFragment** cachedImage, Vector<OwnPtr<CacheEntry> >* deletionList) cachedImage 338 Source/platform/graphics/ImageDecodingStore.cpp ScaledImageFragment* image = cacheEntry->cachedImage(); cachedImage 351 Source/platform/graphics/ImageDecodingStore.cpp *cachedImage = image; cachedImage 210 Source/platform/graphics/ImageDecodingStore.h virtual size_t memoryUsageInBytes() const OVERRIDE { return cachedImage()->bitmap().getSafeSize(); } cachedImage 218 Source/platform/graphics/ImageDecodingStore.h const ScaledImageFragment* cachedImage() const { return m_cachedImage.get(); } cachedImage 219 Source/platform/graphics/ImageDecodingStore.h ScaledImageFragment* cachedImage() { return m_cachedImage.get(); } cachedImage 112 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = 0; cachedImage 113 Source/platform/graphics/ImageDecodingStoreTest.cpp if (ImageDecodingStore::instance()->lockCache(m_generator.get(), size, index, &cachedImage)) cachedImage 114 Source/platform/graphics/ImageDecodingStoreTest.cpp return cachedImage; cachedImage 118 Source/platform/graphics/ImageDecodingStoreTest.cpp void unlockCache(const ScaledImageFragment* cachedImage) cachedImage 120 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); cachedImage 134 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = lockCache(size); cachedImage 135 Source/platform/graphics/ImageDecodingStoreTest.cpp if (!cachedImage) cachedImage 137 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); cachedImage 229 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = lockCache(SkISize::Make(1, 1)); cachedImage 230 Source/platform/graphics/ImageDecodingStoreTest.cpp ASSERT_TRUE(cachedImage); cachedImage 239 Source/platform/graphics/ImageDecodingStoreTest.cpp unlockCache(cachedImage); cachedImage 426 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = ImageDecodingStore::instance()->insertAndLockCache( cachedImage 428 Source/platform/graphics/ImageDecodingStoreTest.cpp unlockCache(cachedImage); cachedImage 429 Source/platform/graphics/ImageDecodingStoreTest.cpp MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(cachedImage->bitmap().pixelRef()); cachedImage 456 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = lockCache(SkISize::Make(1, 1)); cachedImage 457 Source/platform/graphics/ImageDecodingStoreTest.cpp ASSERT_TRUE(cachedImage); cachedImage 461 Source/platform/graphics/ImageDecodingStoreTest.cpp unlockCache(cachedImage); cachedImage 472 Source/platform/graphics/ImageDecodingStoreTest.cpp const ScaledImageFragment* cachedImage = ImageDecodingStore::instance()->insertAndLockCache( cachedImage 475 Source/platform/graphics/ImageDecodingStoreTest.cpp unlockCache(cachedImage); cachedImage 114 Source/platform/graphics/ImageFrameGenerator.cpp const ScaledImageFragment* cachedImage = 0; cachedImage 116 Source/platform/graphics/ImageFrameGenerator.cpp cachedImage = tryToLockCompleteCache(scaledSize, index); cachedImage 117 Source/platform/graphics/ImageFrameGenerator.cpp if (cachedImage) cachedImage 118 Source/platform/graphics/ImageFrameGenerator.cpp return cachedImage; cachedImage 122 Source/platform/graphics/ImageFrameGenerator.cpp cachedImage = tryToResumeDecode(scaledSize, index); cachedImage 123 Source/platform/graphics/ImageFrameGenerator.cpp if (cachedImage) cachedImage 124 Source/platform/graphics/ImageFrameGenerator.cpp return cachedImage; cachedImage 156 Source/platform/graphics/ImageFrameGenerator.cpp const ScaledImageFragment* cachedImage = tryToResumeDecode(scaledSize, index); cachedImage 157 Source/platform/graphics/ImageFrameGenerator.cpp if (!cachedImage) cachedImage 164 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(cachedImage->bitmap().width() == scaledSize.width()); cachedImage 165 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(cachedImage->bitmap().height() == scaledSize.height()); cachedImage 170 Source/platform/graphics/ImageFrameGenerator.cpp if (cachedImage->bitmap().getPixels() != pixels) cachedImage 171 Source/platform/graphics/ImageFrameGenerator.cpp result = cachedImage->bitmap().copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes); cachedImage 172 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->unlockCache(this, cachedImage); cachedImage 178 Source/platform/graphics/ImageFrameGenerator.cpp const ScaledImageFragment* cachedImage = 0; cachedImage 179 Source/platform/graphics/ImageFrameGenerator.cpp if (ImageDecodingStore::instance()->lockCache(this, scaledSize, index, &cachedImage)) cachedImage 180 Source/platform/graphics/ImageFrameGenerator.cpp return cachedImage; cachedImage 214 Source/platform/graphics/ImageFrameGenerator.cpp const ScaledImageFragment* cachedImage = ImageDecodingStore::instance()->insertAndLockCache(this, fullSizeImage.release()); cachedImage 219 Source/platform/graphics/ImageFrameGenerator.cpp const bool removeDecoder = cachedImage->isComplete() && !m_isMultiFrame; cachedImage 227 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->insertDecoder(this, decoderContainer.release(), DiscardablePixelRef::isDiscardable(cachedImage->bitmap().pixelRef())); cachedImage 230 Source/platform/graphics/ImageFrameGenerator.cpp return cachedImage;