Changeset 73382 in webkit


Ignore:
Timestamp:
Dec 6, 2010 11:52:52 AM (13 years ago)
Author:
andersca@apple.com
Message:

REGRESSION: Text in Find indicator is vertically flipped
https://bugs.webkit.org/show_bug.cgi?id=50524
<rdar://problem/8732978>

Reviewed by Dan Bernstein.

Don't flip the graphics context.

  • UIProcess/FindIndicator.cpp:

(WebKit::FindIndicator::draw):

Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r73381 r73382  
     12010-12-06  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        REGRESSION: Text in Find indicator is vertically flipped
     6        https://bugs.webkit.org/show_bug.cgi?id=50524
     7        <rdar://problem/8732978>
     8
     9        Don't flip the graphics context.
     10
     11        * UIProcess/FindIndicator.cpp:
     12        (WebKit::FindIndicator::draw):
     13
    1142010-12-03  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/WebKit2/UIProcess/FindIndicator.cpp

    r72926 r73382  
    165165
    166166        graphicsContext.save();
    167         graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness) + m_contentImage->bounds().height()));
    168         graphicsContext.scale(FloatSize(1, -1));
     167        graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
    169168        m_contentImage->paint(graphicsContext, IntPoint(0, 0), m_contentImage->bounds());
    170169        graphicsContext.restore();
Note: See TracChangeset for help on using the changeset viewer.