Commit 8879eaef authored by davve@opera.com's avatar davve@opera.com

Remove unused RenderReplaced::hasReplacedLogicalWidth()

Last user was removed with
http://src.chromium.org/viewvc/blink?view=revision&revision=171958

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176394 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e77b001d
......@@ -230,17 +230,6 @@ static inline RenderBlock* firstContainingBlockWithLogicalWidth(const RenderRepl
return 0;
}
bool RenderReplaced::hasReplacedLogicalWidth() const
{
if (style()->logicalWidth().isSpecified())
return true;
if (style()->logicalWidth().isAuto())
return false;
return firstContainingBlockWithLogicalWidth(this);
}
bool RenderReplaced::hasReplacedLogicalHeight() const
{
if (style()->logicalHeight().isAuto())
......
......@@ -35,7 +35,6 @@ public:
virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const OVERRIDE;
virtual LayoutUnit computeReplacedLogicalHeight() const OVERRIDE;
bool hasReplacedLogicalWidth() const;
bool hasReplacedLogicalHeight() const;
LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0) const;
......
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