Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Unified Diff: Source/platform/fonts/mac/FontComplexTextMac.cpp

Issue 348553003: Simplify GlyphBuffer::reverse. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/fonts/GlyphBuffer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/mac/FontComplexTextMac.cpp
diff --git a/Source/platform/fonts/mac/FontComplexTextMac.cpp b/Source/platform/fonts/mac/FontComplexTextMac.cpp
index 5d85dc0a8a4441837fd414650572d245f01d9de8..73eb52c1e6ab831e4d90a38540d14dad138786c2 100644
--- a/Source/platform/fonts/mac/FontComplexTextMac.cpp
+++ b/Source/platform/fonts/mac/FontComplexTextMac.cpp
@@ -85,7 +85,7 @@ float Font::getGlyphsAndAdvancesForComplexText(const TextRunPaintInfo& runInfo,
if (runInfo.run.rtl()) {
initialAdvance = controller.totalWidth() + controller.finalRoundingWidth() - afterWidth;
- glyphBuffer.reverse(0, glyphBuffer.size());
+ glyphBuffer.reverse();
} else
initialAdvance = beforeWidth;
« no previous file with comments | « Source/platform/fonts/GlyphBuffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698