Reduce indentation in Widget::paint in WidgetMac.mm
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jun 2013 22:29:18 +0000 (22:29 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jun 2013 22:29:18 +0000 (22:29 +0000)
commit120a22f4f4ff4fa1a2e7dee13c65061501743cf2
tree65924d2853552110113a9ec374438534e3ec3040
parent46d336718146f24ccdc993a4249e055015dfcf92
Reduce indentation in Widget::paint in WidgetMac.mm
https://bugs.webkit.org/show_bug.cgi?id=117171

Reviewed by Darin Adler.

Use an early return for the common case to reduce indentation in the complex case.

* platform/mac/WidgetMac.mm:
(WebCore::Widget::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/WidgetMac.mm