Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderReplica.h
index 8f5cb86..ac5c45f 100644 (file)
 
 namespace blink {
 
-class RenderReplica FINAL : public RenderBox {
+class RenderReplica final : public RenderBox {
 public:
     static RenderReplica* createAnonymous(Document*);
 
     virtual ~RenderReplica();
 
-    virtual const char* renderName() const OVERRIDE { return "RenderReplica"; }
+    virtual const char* renderName() const override { return "RenderReplica"; }
 
-    virtual LayerType layerTypeRequired() const OVERRIDE { return NormalLayer; }
+    virtual LayerType layerTypeRequired() const override { return NormalLayer; }
 
-    virtual void layout() OVERRIDE;
+    virtual void layout() override;
 
-    virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
+    virtual void paint(PaintInfo&, const LayoutPoint&) override;
 
 private:
     RenderReplica();
 
-    virtual bool isReplica() const OVERRIDE { return true; }
-    virtual void computePreferredLogicalWidths() OVERRIDE;
+    virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectReplica || RenderBox::isOfType(type); }
+    virtual void computePreferredLogicalWidths() override;
 
 };