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

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

Issue 930833003: Move and rename RenderReplaced and RenderHTMLCanvas to Layout{Replaced,HTMLCanvas}. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No need to declare renderName() at all. 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/LayoutHTMLCanvas.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutImage.h
diff --git a/Source/core/layout/LayoutImage.h b/Source/core/layout/LayoutImage.h
index bc1bd650237077d26e68a3109026fd79cb5b1609..513f05fcf21bf810f1f7d9f4f5bd4b5a00c3f759 100644
--- a/Source/core/layout/LayoutImage.h
+++ b/Source/core/layout/LayoutImage.h
@@ -26,14 +26,14 @@
#define LayoutImage_h
#include "core/layout/LayoutImageResource.h"
-#include "core/rendering/RenderReplaced.h"
+#include "core/layout/LayoutReplaced.h"
namespace blink {
class HTMLAreaElement;
class HTMLMapElement;
-class LayoutImage : public RenderReplaced {
+class LayoutImage : public LayoutReplaced {
public:
// These are the paddings to use when displaying either alt text or an image.
static const unsigned short paddingWidth = 4;
@@ -79,7 +79,7 @@ protected:
virtual void layout() override;
virtual bool updateImageLoadingPriorities() override final;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutImage || RenderReplaced::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutImage || LayoutReplaced::isOfType(type); }
private:
virtual const char* renderName() const override { return "LayoutImage"; }
« no previous file with comments | « Source/core/layout/LayoutHTMLCanvas.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698