Title: [195539] trunk/Source/WebCore
Revision
195539
Author
[email protected]
Date
2016-01-25 09:49:22 -0800 (Mon, 25 Jan 2016)

Log Message

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

Patch by Konstantin Tokarev <[email protected]> on 2016-01-25
Reviewed by Simon Fraser.

No new tests needed.

* platform/graphics/displaylists/DisplayListItems.cpp:
(WebCore::DisplayList::DrawGlyphs::computeBounds):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (195538 => 195539)


--- trunk/Source/WebCore/ChangeLog	2016-01-25 17:23:42 UTC (rev 195538)
+++ trunk/Source/WebCore/ChangeLog	2016-01-25 17:49:22 UTC (rev 195539)
@@ -1,3 +1,15 @@
+2016-01-25  Konstantin Tokarev  <[email protected]>
+
+        Do not convert GlyphBufferAdvance to FloatSize
+        https://bugs.webkit.org/show_bug.cgi?id=153421
+
+        Reviewed by Simon Fraser.
+
+        No new tests needed.
+
+        * platform/graphics/displaylists/DisplayListItems.cpp:
+        (WebCore::DisplayList::DrawGlyphs::computeBounds):
+
 2016-01-22  Ryosuke Niwa  <[email protected]>
 
         document.createElement should be able to create a custom element

Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp (195538 => 195539)


--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp	2016-01-25 17:23:42 UTC (rev 195538)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp	2016-01-25 17:49:22 UTC (rev 195539)
@@ -391,7 +391,7 @@
         FloatRect glyphRect = FloatRect(current.x(), current.y() - ascent, advance.width(), ascent + descent);
         m_bounds.unite(glyphRect);
 
-        current += FloatSize(advance);
+        current.move(advance.width(), advance.height());
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to