Skip to content
Permalink
Browse files
[Qt] Fix text selection drawing.
https://bugs.webkit.org/show_bug.cgi?id=40221

Reviewed by Simon Hausmann.

The regression was introduced in r60169.

* platform/graphics/qt/FontQt.cpp:
(WebCore::drawTextCommon):

Canonical link: https://commits.webkit.org/51795@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@60772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
jturcotte committed Jun 7, 2010
1 parent e092498 commit dbe315737a15f205889d8a080f1a8dd7e8058197
Showing 2 changed files with 13 additions and 0 deletions.
@@ -1,3 +1,15 @@
2010-06-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Fix text selection drawing.
https://bugs.webkit.org/show_bug.cgi?id=40221

The regression was introduced in r60169.

* platform/graphics/qt/FontQt.cpp:
(WebCore::drawTextCommon):

2010-06-07 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.
@@ -146,6 +146,7 @@ void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const Float
line.draw(p, pt);
p->restore();
}
p->setPen(textFillPen);
line.draw(p, pt);
p->restore();
return;

0 comments on commit dbe3157

Please sign in to comment.