| Index: third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
|
| index bd621c954b860d174ef977586c3623fc0bc68859..d082f33aa764c583cdaf11af16b16792407a60d0 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
|
| @@ -78,7 +78,7 @@ PassRefPtr<FontDataForRangeSet> FontFallbackIterator::uniqueOrNext(
|
| // We don't want to skip subsetted ranges because HarfBuzzShaper's behavior
|
| // depends on the subsetting.
|
| if (candidate->isEntireRange())
|
| - m_uniqueFontDataForRangeSetsReturned.add(candidateId);
|
| + m_uniqueFontDataForRangeSetsReturned.insert(candidateId);
|
| return candidate;
|
| }
|
|
|
| @@ -234,7 +234,7 @@ PassRefPtr<SimpleFontData> FontFallbackIterator::uniqueSystemFontForHintList(
|
|
|
| if (!hint || m_previouslyAskedForHint.contains(hint))
|
| return nullptr;
|
| - m_previouslyAskedForHint.add(hint);
|
| + m_previouslyAskedForHint.insert(hint);
|
| return fontCache->fallbackFontForCharacter(
|
| m_fontDescription, hint,
|
| m_fontFallbackList->primarySimpleFontData(m_fontDescription));
|
|
|