<https://webkit.org/b/120041> Remove superfluous min calls in RenderBlock::computeOve...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Aug 2013 04:49:37 +0000 (04:49 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Aug 2013 04:49:37 +0000 (04:49 +0000)
commit66333c1164a2c86998e4154a344a3743eae61e81
treeb717a0d99206b92e8c6b291ce84927a9a87ce30f
parent119d4fe26ca803207821b420fd16aaa5b61e7570
<https://webkit.org/b/120041> Remove superfluous min calls in RenderBlock::computeOverflow

Reviewed by Simon Fraser.

Merge https://chromium.googlesource.com/chromium/blink/+/29cad35d6b4642804e6b7c1a30f0b4435dd7a71d

They are contained in an "if" statement that ensures that textIndent < 0 and so the min will never be 0.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeOverflow):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp