2010-02-04 Ariya Hidayat <ariya.hidayat@gmail.com>
authorariya@webkit.org <ariya@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Feb 2010 17:43:17 +0000 (17:43 +0000)
committerariya@webkit.org <ariya@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Feb 2010 17:43:17 +0000 (17:43 +0000)
commit328118afde2a2381ff2037e91a8893fdbdd03a9f
treea9aa0e41dd4f88992bc31de04d97ef72dbed96a6
parent5c2e77f93c2a9595891cd5775f53eed629b3e88a
2010-02-04  Ariya Hidayat  <ariya.hidayat@gmail.com>

        Reviewed by Simon Hausmann.

        [Qt] Unnecessary QBrush construction for doing a solid fill
        https://bugs.webkit.org/show_bug.cgi?id=34559

        Use the similar trick like r37421, i.e. use the special brush for
        solid color to avoid creating QBrush again and again.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::setPlatformFillColor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@54347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/graphics/qt/GraphicsContextQt.cpp