Commit 73f9617f authored by rob.buis@samsung.com's avatar rob.buis@samsung.com

Remove isRenderSVGBlock

It is only used once and can be replaced by using isSVG().

Review URL: https://codereview.chromium.org/137303004

git-svn-id: svn://svn.chromium.org/blink/trunk@165018 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 90e8b720
...@@ -186,7 +186,7 @@ public: ...@@ -186,7 +186,7 @@ public:
virtual void setSelectionState(SelectionState) OVERRIDE; virtual void setSelectionState(SelectionState) OVERRIDE;
bool canHaveBoxInfoInRegion() const { return !isFloating() && !isReplaced() && !isInline() && !hasColumns() && !isTableCell() && isRenderBlock() && !isRenderSVGBlock(); } bool canHaveBoxInfoInRegion() const { return !isFloating() && !isReplaced() && !isInline() && !hasColumns() && !isTableCell() && isRenderBlock() && !isSVG(); }
void contentChanged(ContentChangeType); void contentChanged(ContentChangeType);
bool hasAcceleratedCompositing() const; bool hasAcceleratedCompositing() const;
......
...@@ -341,7 +341,6 @@ public: ...@@ -341,7 +341,6 @@ public:
virtual bool isProgress() const { return false; } virtual bool isProgress() const { return false; }
virtual bool isRenderBlock() const { return false; } virtual bool isRenderBlock() const { return false; }
virtual bool isRenderBlockFlow() const { return false; } virtual bool isRenderBlockFlow() const { return false; }
virtual bool isRenderSVGBlock() const { return false; };
virtual bool isRenderButton() const { return false; } virtual bool isRenderButton() const { return false; }
virtual bool isRenderIFrame() const { return false; } virtual bool isRenderIFrame() const { return false; }
virtual bool isRenderImage() const { return false; } virtual bool isRenderImage() const { return false; }
......
...@@ -38,7 +38,6 @@ protected: ...@@ -38,7 +38,6 @@ protected:
private: private:
virtual void updateFromStyle() OVERRIDE FINAL; virtual void updateFromStyle() OVERRIDE FINAL;
virtual bool isRenderSVGBlock() const OVERRIDE FINAL { return true; }
virtual bool isSVG() const OVERRIDE FINAL { return true; } virtual bool isSVG() const OVERRIDE FINAL { return true; }
virtual bool supportsPartialLayout() const OVERRIDE FINAL { return false; } virtual bool supportsPartialLayout() const OVERRIDE FINAL { return false; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment