diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc b/chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc index dc15839c7e5..ac60e4a8065 100644 --- a/chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc +++ b/chromium/third_party/blink/renderer/modules/content_index/content_description_type_converter.cc @@ -57,7 +57,8 @@ blink::mojom::blink::ContentDescriptionPtr TypeConverter< result->category = GetContentCategory(description->category()); for (const auto& icon : description->icons()) { result->icons.push_back(blink::mojom::blink::ContentIconDefinition::New( - icon->src(), icon->sizes(), icon->type())); + icon->src(), icon->hasSizes() ? icon->sizes() : String(), + icon->hasType() ? icon->type() : String())); } result->launch_url = description->url(); |