Fix mistake during cherry-pick of r74220 qtwebkit-2.1.x-week14
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Fri, 8 Apr 2011 13:42:21 +0000 (10:42 -0300)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Fri, 8 Apr 2011 13:57:27 +0000 (10:57 -0300)
commitf45d42188432a78331e9fa5733863752ea81f64e
treec44595c2fb5930e10e4a6abe7b7e37fdb512ade8
parent3bc31fc4820678c600e2598dd6ca3df2e3df3292
Fix mistake during cherry-pick of r74220

Rubber stamped by Laszlo Gombos.

Fabrizio noticed that the cherry-pick of r74220 in commit
dcbf037442a531c9da18a879f91bedfe141aaea0 was incorrect. This commit
fix it and add an early return to simplify the code (like the
implementation in trunk).

https://bugs.webkit.org/show_bug.cgi?id=51208
WebCore/platform/graphics/qt/GraphicsContextQt.cpp