Changeset 92197 in webkit


Ignore:
Timestamp:
Aug 2, 2011 9:34:36 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Simplify Path::translate() implementation.
https://bugs.webkit.org/show_bug.cgi?id=65540

Patch by Andreas Kling <kling@webkit.org> on 2011-08-02
Reviewed by Benjamin Poulain.

  • platform/graphics/qt/PathQt.cpp:

(WebCore::Path::translate):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r92196 r92197  
     12011-08-02  Andreas Kling  <kling@webkit.org>
     2
     3        [Qt] Simplify Path::translate() implementation.
     4        https://bugs.webkit.org/show_bug.cgi?id=65540
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * platform/graphics/qt/PathQt.cpp:
     9        (WebCore::Path::translate):
     10
    1112011-07-30  Pavel Podivilov  <podivilov@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/qt/PathQt.cpp

    r81553 r92197  
    145145void Path::translate(const FloatSize& size)
    146146{
    147     QTransform matrix;
    148     matrix.translate(size.width(), size.height());
    149     m_path = m_path * matrix;
     147    m_path.translate(size.width(), size.height());
    150148}
    151149
Note: See TracChangeset for help on using the changeset viewer.