| Index: Source/core/fetch/ImageResource.h
|
| ===================================================================
|
| --- Source/core/fetch/ImageResource.h (revision 162906)
|
| +++ Source/core/fetch/ImageResource.h (working copy)
|
| @@ -65,6 +65,7 @@
|
| bool usesImageContainerSize() const;
|
| bool imageHasRelativeWidth() const;
|
| bool imageHasRelativeHeight() const;
|
| + void setDeviceScaleFactor(float scale) { m_deviceScaleFactor = scale; }
|
| // The device pixel ratio we got from the server for this image, or 1.0.
|
| float devicePixelRatioHeaderValue() const { return m_devicePixelRatioHeaderValue; }
|
| bool hasDevicePixelRatioHeaderValue() const { return m_hasDevicePixelRatioHeaderValue; }
|
| @@ -120,6 +121,7 @@
|
| typedef HashMap<const ImageResourceClient*, SizeAndZoom> ContainerSizeRequests;
|
| ContainerSizeRequests m_pendingContainerSizeRequests;
|
| float m_devicePixelRatioHeaderValue;
|
| + float m_deviceScaleFactor;
|
|
|
| RefPtr<WebCore::Image> m_image;
|
| OwnPtr<SVGImageCache> m_svgImageCache;
|
|
|