Changeset 195539 in webkit


Ignore:
Timestamp:
Jan 25, 2016 9:49:22 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Do not convert GlyphBufferAdvance to FloatSize
https://bugs.webkit.org/show_bug.cgi?id=153421

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-01-25
Reviewed by Simon Fraser.

No new tests needed.

  • platform/graphics/displaylists/DisplayListItems.cpp:

(WebCore::DisplayList::DrawGlyphs::computeBounds):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r195538 r195539  
     12016-01-25  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        Do not convert GlyphBufferAdvance to FloatSize
     4        https://bugs.webkit.org/show_bug.cgi?id=153421
     5
     6        Reviewed by Simon Fraser.
     7
     8        No new tests needed.
     9
     10        * platform/graphics/displaylists/DisplayListItems.cpp:
     11        (WebCore::DisplayList::DrawGlyphs::computeBounds):
     12
    1132016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp

    r195170 r195539  
    392392        m_bounds.unite(glyphRect);
    393393
    394         current += FloatSize(advance);
     394        current.move(advance.width(), advance.height());
    395395    }
    396396}
Note: See TracChangeset for help on using the changeset viewer.