Index: Source/core/layout/LayoutIFrame.h |
diff --git a/Source/core/rendering/RenderIFrame.h b/Source/core/layout/LayoutIFrame.h |
similarity index 81% |
rename from Source/core/rendering/RenderIFrame.h |
rename to Source/core/layout/LayoutIFrame.h |
index f9bc2ebaaffef2c3427d2278677c61e93cd26715..7d3d2be750e151fa728d4859fb4d14184d4469fb 100644 |
--- a/Source/core/rendering/RenderIFrame.h |
+++ b/Source/core/layout/LayoutIFrame.h |
@@ -23,16 +23,16 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef RenderIFrame_h |
-#define RenderIFrame_h |
+#ifndef LayoutIFrame_h |
+#define LayoutIFrame_h |
#include "core/layout/LayoutPart.h" |
namespace blink { |
-class RenderIFrame final : public LayoutPart { |
+class LayoutIFrame final : public LayoutPart { |
public: |
- explicit RenderIFrame(Element*); |
+ explicit LayoutIFrame(Element*); |
private: |
virtual bool shouldComputeSizeAsReplaced() const override; |
@@ -40,15 +40,15 @@ private: |
virtual void layout() override; |
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRenderIFrame || LayoutPart::isOfType(type); } |
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutIFrame || LayoutPart::isOfType(type); } |
- virtual const char* renderName() const override { return "RenderPartObject"; } // Lying for now to avoid breaking tests |
+ virtual const char* renderName() const override { return "LayoutIFrame"; } |
virtual LayerType layerTypeRequired() const override; |
}; |
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderIFrame, isRenderIFrame()); |
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutIFrame, isLayoutIFrame()); |
} // namespace blink |
-#endif // RenderIFrame_h |
+#endif // LayoutIFrame_h |