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

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

Issue 567543002: Avoid re-parsing of string in fillText and measureText in Canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating test expectation file Created 6 years, 3 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/harfbuzz/HarfBuzzShaper.cpp ('k') | Source/platform/text/TextRun.h » ('j') | 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 a11f6f93c9c82a3ee1e558bbc8c20d3cb8d236ed..d0dcac0af5b5fbab7f810c25c3db2502f6c0a89c 100644
--- a/Source/platform/fonts/mac/FontComplexTextMac.cpp
+++ b/Source/platform/fonts/mac/FontComplexTextMac.cpp
@@ -158,7 +158,7 @@ const SimpleFontData* Font::fontDataForCombiningCharacterSequence(const UChar* c
size_t baseCharacterLength = 0;
U16_NEXT(characters, baseCharacterLength, length, baseCharacter);
- GlyphData baseCharacterGlyphData = glyphDataForCharacter(baseCharacter, false, variant);
+ GlyphData baseCharacterGlyphData = glyphDataForCharacter(baseCharacter, false, false, variant);
if (!baseCharacterGlyphData.glyph)
return 0;
« no previous file with comments | « Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp ('k') | Source/platform/text/TextRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698