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

Unified Diff: Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp

Issue 167123002: Simpler return value from HashTable::add()/HashMap::add() and others (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
Index: Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp
diff --git a/Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp b/Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp
index b0daf5323db326a2da763984a9bcbfab2c89471f..f7294496427bc29525477bf3ed06df5580836240 100644
--- a/Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp
+++ b/Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp
@@ -94,10 +94,10 @@ static hb_bool_t harfBuzzGetGlyph(hb_font_t* hbFont, void* fontData, hb_codepoin
paint->setTextEncoding(SkPaint::kUTF32_TextEncoding);
uint16_t glyph16;
paint->textToGlyphs(&unicode, sizeof(hb_codepoint_t), &glyph16);
- result.iterator->value = glyph16;
+ result.storedValue->value = glyph16;
*glyph = glyph16;
}
- *glyph = result.iterator->value;
+ *glyph = result.storedValue->value;
return !!*glyph;
}
« no previous file with comments | « Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp ('k') | Source/platform/fonts/mac/SimpleFontDataCoreText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698