summaryrefslogtreecommitdiff
path: root/src/core/chromium_overrides.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/chromium_overrides.cpp')
-rw-r--r--src/core/chromium_overrides.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp
index 4be528f58..512b142a0 100644
--- a/src/core/chromium_overrides.cpp
+++ b/src/core/chromium_overrides.cpp
@@ -112,8 +112,8 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking()
for (auto family : QFontDatabase::families()){
std::unique_ptr<base::ListValue> font_item(new base::ListValue());
- font_item->AppendString(family.toStdString());
- font_item->AppendString(family.toStdString()); // localized name.
+ font_item->Append(family.toStdString());
+ font_item->Append(family.toStdString()); // localized name.
// TODO(yusukes): Support localized family names.
font_list->Append(std::move(font_item));
}