Index: Source/core/layout/LayoutImageResource.h |
diff --git a/Source/core/rendering/RenderImageResource.h b/Source/core/layout/LayoutImageResource.h |
similarity index 88% |
rename from Source/core/rendering/RenderImageResource.h |
rename to Source/core/layout/LayoutImageResource.h |
index 1b56a4236816540d53003b783a46c2c0d161e803..4deeedde9d3db4bb024ed30c95aa0271ed1ad4ff 100644 |
--- a/Source/core/rendering/RenderImageResource.h |
+++ b/Source/core/layout/LayoutImageResource.h |
@@ -23,8 +23,8 @@ |
* |
*/ |
-#ifndef RenderImageResource_h |
-#define RenderImageResource_h |
+#ifndef LayoutImageResource_h |
+#define LayoutImageResource_h |
#include "core/fetch/ImageResource.h" |
#include "core/fetch/ResourcePtr.h" |
@@ -34,14 +34,14 @@ namespace blink { |
class LayoutObject; |
-class RenderImageResource { |
- WTF_MAKE_NONCOPYABLE(RenderImageResource); WTF_MAKE_FAST_ALLOCATED; |
+class LayoutImageResource { |
+ WTF_MAKE_NONCOPYABLE(LayoutImageResource); WTF_MAKE_FAST_ALLOCATED; |
public: |
- virtual ~RenderImageResource(); |
+ virtual ~LayoutImageResource(); |
- static PassOwnPtr<RenderImageResource> create() |
+ static PassOwnPtr<LayoutImageResource> create() |
{ |
- return adoptPtr(new RenderImageResource); |
+ return adoptPtr(new LayoutImageResource); |
} |
virtual void initialize(LayoutObject*); |
@@ -69,7 +69,7 @@ public: |
virtual WrappedImagePtr imagePtr() const { return m_cachedImage.get(); } |
protected: |
- RenderImageResource(); |
+ LayoutImageResource(); |
LayoutObject* m_renderer; |
ResourcePtr<ImageResource> m_cachedImage; |
@@ -79,4 +79,4 @@ private: |
} // namespace blink |
-#endif // RenderImage_h |
+#endif // LayoutImage_h |