Home
last modified time | relevance | path

Searched refs:m_imageResource (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderImage.cpp77 ASSERT(m_imageResource); in ~RenderImage()
78 m_imageResource->shutdown(); in ~RenderImage()
83 ASSERT(!m_imageResource); in setImageResource()
84 m_imageResource = imageResource; in setImageResource()
85 m_imageResource->initialize(this); in setImageResource()
148 if (!m_altText.isEmpty() && setImageSizeForAltText(m_imageResource->cachedImage())) in styleDidChange()
162 if (!m_imageResource) in imageChanged()
165 if (newImage != m_imageResource->imagePtr()) in imageChanged()
170 …if (m_imageResource->cachedImage() && m_imageResource->cachedImage()->hasDevicePixelRatioHeaderVal… in imageChanged()
171 m_imageDevicePixelRatio = 1 / m_imageResource->cachedImage()->devicePixelRatioHeaderValue(); in imageChanged()
[all …]
DRenderImage.h45 RenderImageResource* imageResource() { return m_imageResource.get(); } in imageResource()
46 const RenderImageResource* imageResource() const { return m_imageResource.get(); } in imageResource()
47 …ImageResource* cachedImage() const { return m_imageResource ? m_imageResource->cachedImage() : 0; } in cachedImage()
85 if (m_imageResource) in intrinsicSizeChanged()
86 imageChanged(m_imageResource->imagePtr()); in intrinsicSizeChanged()
117 OwnPtr<RenderImageResource> m_imageResource; variable
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGImage.cpp49 , m_imageResource(RenderImageResource::create()) in RenderSVGImage()
51 m_imageResource->initialize(this); in RenderSVGImage()
57 m_imageResource->shutdown(); in ~RenderSVGImage()
73 if (ImageResource* cachedImage = m_imageResource->cachedImage()) { in updateImageViewport()
75 if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) { in updateImageViewport()
76 m_imageResource->setContainerSizeForRenderer(roundedIntSize(intrinsicSize)); in updateImageViewport()
84m_imageResource->setContainerSizeForRenderer(enclosingIntRect(m_objectBoundingBox).size()); in updateImageViewport()
129 …nfo.context->paintingDisabled() || style()->visibility() == HIDDEN || !m_imageResource->hasImage()) in paint()
160 RefPtr<Image> image = m_imageResource->image(); in paintForeground()
DRenderSVGImage.h44 RenderImageResource* imageResource() { return m_imageResource.get(); } in imageResource()
77 OwnPtr<RenderImageResource> m_imageResource; variable