InlineTextBox: Remove potentially confusing "} if" pattern.
authorthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2012 23:14:57 +0000 (23:14 +0000)
committerthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2012 23:14:57 +0000 (23:14 +0000)
commit79a9e30a2cc12f7e95c7e7f30efa453ed3e0617c
tree52048560fe9e85374d638930881d814fee381888
parent955ae6e05fcb2470eabbeec7288d524130fe436b
InlineTextBox: Remove potentially confusing "} if" pattern.
https://bugs.webkit.org/show_bug.cgi?id=105499

Reviewed by Ojan Vafai.

It's not clear to me on first look if this is intentional or missing
an "else" (and this pattern was used in just one other place in
webkit, which I've removed). It turns out no else is missing here,
this is checked by fast/text/justified-selection.html

* rendering/InlineTextBox.cpp:
(WebCore::paintTextWithShadows):

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