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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
index 3ed44c8e77303309e76297c8d8352662a1d7798e..c844454624f9075ddbd65735e62e65a31662cd38 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
@@ -230,7 +230,7 @@ void ShapeResult::fallbackFonts(
m_runs[i]->m_fontData != m_primaryFont &&
!m_runs[i]->m_fontData->isTextOrientationFallbackOf(
m_primaryFont.get())) {
- fallback->add(m_runs[i]->m_fontData.get());
+ fallback->insert(m_runs[i]->m_fontData.get());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698