DescriptionFix transparent windowless plugin background painting. This would manifest
itself as incorrect ClearType edges.
The problem was that we were taking into account the translation from the page
coordinate system when blitting the background, but this had already been
accounted for in the transformation matrix, resulting in duplicate
transformations.
The fix simplifies the code by not tranlating into the page coordinate system
until later, staying in the plugin coordinate system which is more convenient.
This means that the background (which is the same size as the buffer) can just
be painted at (0,0) with no fuss and no muss. We don't even need to worry about
how much we paint since the clip was already installed.
This also corrects some indenting in browser.cc that I noticed.
TEST="Attach a file" text in Gmail compose looks weird (sometimes requires
selecting it to make this happen).
BUG=26080
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30498
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 2 (0 generated)
|