Title: [169242] trunk/Source/WebCore
- Revision
- 169242
- Author
- mmaxfi...@apple.com
- Date
- 2014-05-22 20:31:57 -0700 (Thu, 22 May 2014)
Log Message
Unreviewed typo fix.
Reviewed by NOBODY.
No new tests.
* platform/graphics/mac/FontMac.mm:
(WebCore::Font::dashesForIntersectionsWithRect): Accidentally said run.length() instead of glyphBuffer.size().
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (169241 => 169242)
--- trunk/Source/WebCore/ChangeLog 2014-05-23 03:27:36 UTC (rev 169241)
+++ trunk/Source/WebCore/ChangeLog 2014-05-23 03:31:57 UTC (rev 169242)
@@ -1,3 +1,14 @@
+2014-05-22 Myles C. Maxfield <lithe...@gmail.com>
+
+ Unreviewed typo fix.
+
+ Reviewed by NOBODY.
+
+ No new tests.
+
+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::Font::dashesForIntersectionsWithRect): Accidentally said run.length() instead of glyphBuffer.size().
+
2014-05-22 Andreas Kling <akl...@apple.com>
[iOS WebKit2] Web process should try to shrink its memory footprint when going into background.
Modified: trunk/Source/WebCore/platform/graphics/mac/FontMac.mm (169241 => 169242)
--- trunk/Source/WebCore/platform/graphics/mac/FontMac.mm 2014-05-23 03:27:36 UTC (rev 169241)
+++ trunk/Source/WebCore/platform/graphics/mac/FontMac.mm 2014-05-23 03:31:57 UTC (rev 169242)
@@ -520,7 +520,7 @@
if (!fontData->isSVGFont())
translator = std::move(std::make_unique<MacGlyphToPathTranslator>(glyphBuffer, origin));
else {
- translator = std::move(run.renderingContext()->createGlyphToPathTranslator(*fontData, glyphBuffer, 0, run.length(), origin));
+ translator = std::move(run.renderingContext()->createGlyphToPathTranslator(*fontData, glyphBuffer, 0, glyphBuffer.size(), origin));
isSVG = true;
}
DashArray result;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes