Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1324)

Unified Diff: Source/core/layout/LayoutImageResourceStyleImage.h

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutImageResource.cpp ('k') | Source/core/layout/LayoutImageResourceStyleImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutImageResourceStyleImage.h
diff --git a/Source/core/rendering/RenderImageResourceStyleImage.h b/Source/core/layout/LayoutImageResourceStyleImage.h
similarity index 83%
rename from Source/core/rendering/RenderImageResourceStyleImage.h
rename to Source/core/layout/LayoutImageResourceStyleImage.h
index adccd10434ada46fbea20179b8244e5b495c1fe2..82e45c68bd556567f9036c3b5c260898c0d59e6f 100644
--- a/Source/core/rendering/RenderImageResourceStyleImage.h
+++ b/Source/core/layout/LayoutImageResourceStyleImage.h
@@ -23,24 +23,24 @@
*
*/
-#ifndef RenderImageResourceStyleImage_h
-#define RenderImageResourceStyleImage_h
+#ifndef LayoutImageResourceStyleImage_h
+#define LayoutImageResourceStyleImage_h
+#include "core/layout/LayoutImageResource.h"
#include "core/layout/style/StyleImage.h"
-#include "core/rendering/RenderImageResource.h"
#include "wtf/RefPtr.h"
namespace blink {
class LayoutObject;
-class RenderImageResourceStyleImage final : public RenderImageResource {
+class LayoutImageResourceStyleImage final : public LayoutImageResource {
public:
- virtual ~RenderImageResourceStyleImage();
+ virtual ~LayoutImageResourceStyleImage();
- static PassOwnPtr<RenderImageResource> create(StyleImage* styleImage)
+ static PassOwnPtr<LayoutImageResource> create(StyleImage* styleImage)
{
- return adoptPtr(new RenderImageResourceStyleImage(styleImage));
+ return adoptPtr(new LayoutImageResourceStyleImage(styleImage));
}
virtual void initialize(LayoutObject*) override;
virtual void shutdown() override;
@@ -59,10 +59,10 @@ public:
virtual WrappedImagePtr imagePtr() const override { return m_styleImage->data(); }
private:
- RenderImageResourceStyleImage(StyleImage*);
+ LayoutImageResourceStyleImage(StyleImage*);
RefPtr<StyleImage> m_styleImage;
};
} // namespace blink
-#endif // RenderImageStyleImage_h
+#endif // LayoutImageStyleImage_h
« no previous file with comments | « Source/core/layout/LayoutImageResource.cpp ('k') | Source/core/layout/LayoutImageResourceStyleImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698