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.cpp80 ASSERT(m_imageResource); in destroy()
81 m_imageResource->shutdown(); in destroy()
87 ASSERT(!m_imageResource); in setImageResource()
88 m_imageResource = imageResource; in setImageResource()
89 m_imageResource->initialize(this); in setImageResource()
152 if (!m_imageResource) in imageChanged()
155 if (newImage != m_imageResource->imagePtr()) in imageChanged()
160 …if (m_imageResource->cachedImage() && m_imageResource->cachedImage()->hasDevicePixelRatioHeaderVal… in imageChanged()
161 m_imageDevicePixelRatio = 1 / m_imageResource->cachedImage()->devicePixelRatioHeaderValue(); in imageChanged()
165 …view()->frameView()->incrementVisuallyNonEmptyPixelCount(flooredIntSize(m_imageResource->imageSize… in imageChanged()
[all …]
DRenderImage.h50 RenderImageResource* imageResource() { return m_imageResource.get(); } in imageResource()
51 const RenderImageResource* imageResource() const { return m_imageResource.get(); } in imageResource()
52 …ImageResource* cachedImage() const { return m_imageResource ? m_imageResource->cachedImage() : 0; } in cachedImage()
74 if (m_imageResource) in intrinsicSizeChanged()
75 imageChanged(m_imageResource->imagePtr()); in intrinsicSizeChanged()
115 OwnPtr<RenderImageResource> m_imageResource; variable
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGImage.cpp47 , m_imageResource(RenderImageResource::create()) in RenderSVGImage()
49 m_imageResource->initialize(this); in RenderSVGImage()
59 m_imageResource->shutdown(); in destroy()
73 ImageResource* cachedImage = m_imageResource->cachedImage(); in forceNonUniformScaling()
102 LayoutSize intrinsicSize = m_imageResource->intrinsicSize(style()->effectiveZoom()); in updateImageViewport()
103 if (intrinsicSize != m_imageResource->imageSize(style()->effectiveZoom())) { in updateImageViewport()
112 m_imageResource->setContainerSizeForRenderer(newViewportSize); in updateImageViewport()
DRenderSVGImage.h44 RenderImageResource* imageResource() { return m_imageResource.get(); } in imageResource()
77 OwnPtr<RenderImageResource> m_imageResource; variable