Index: Source/core/rendering/ImageQualityController.h |
diff --git a/Source/core/rendering/ImageQualityController.h b/Source/core/rendering/ImageQualityController.h |
index cdcba61657b6f8a67555d5e01c2ac2f815b0ecd4..94bae0d3b8e4c43d856d1f66cf6c25554b540a32 100644 |
--- a/Source/core/rendering/ImageQualityController.h |
+++ b/Source/core/rendering/ImageQualityController.h |
@@ -31,7 +31,7 @@ |
#ifndef ImageQualityController_h |
#define ImageQualityController_h |
-#include "core/rendering/RenderObject.h" |
+#include "core/layout/LayoutObject.h" |
#include "platform/geometry/IntSize.h" |
#include "platform/geometry/LayoutSize.h" |
#include "platform/graphics/Image.h" |
@@ -42,7 +42,7 @@ |
namespace blink { |
typedef HashMap<const void*, LayoutSize> LayerSizeMap; |
-typedef HashMap<RenderObject*, LayerSizeMap> ObjectLayerSizeMap; |
+typedef HashMap<LayoutObject*, LayerSizeMap> ObjectLayerSizeMap; |
class ImageQualityController final { |
WTF_MAKE_NONCOPYABLE(ImageQualityController); WTF_MAKE_FAST_ALLOCATED; |
@@ -51,21 +51,21 @@ public: |
static ImageQualityController* imageQualityController(); |
- static void remove(RenderObject*); |
+ static void remove(LayoutObject*); |
- InterpolationQuality chooseInterpolationQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&); |
+ InterpolationQuality chooseInterpolationQuality(GraphicsContext*, LayoutObject*, Image*, const void* layer, const LayoutSize&); |
// For testing. |
- static bool has(RenderObject*); |
+ static bool has(LayoutObject*); |
// This is public for testing. Do not call this from other classes. |
- void set(RenderObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&); |
+ void set(LayoutObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&); |
private: |
ImageQualityController(); |
- bool shouldPaintAtLowQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&); |
- void removeLayer(RenderObject*, LayerSizeMap* innerMap, const void* layer); |
- void objectDestroyed(RenderObject*); |
+ bool shouldPaintAtLowQuality(GraphicsContext*, LayoutObject*, Image*, const void* layer, const LayoutSize&); |
+ void removeLayer(LayoutObject*, LayerSizeMap* innerMap, const void* layer); |
+ void objectDestroyed(LayoutObject*); |
bool isEmpty() { return m_objectLayerSizeMap.isEmpty(); } |
void highQualityRepaintTimerFired(Timer<ImageQualityController>*); |