summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/manifest_handlers/icons_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/extensions/common/manifest_handlers/icons_handler.cc')
-rw-r--r--chromium/extensions/common/manifest_handlers/icons_handler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/extensions/common/manifest_handlers/icons_handler.cc b/chromium/extensions/common/manifest_handlers/icons_handler.cc
index b031ff2821b..90b4bbf2d28 100644
--- a/chromium/extensions/common/manifest_handlers/icons_handler.cc
+++ b/chromium/extensions/common/manifest_handlers/icons_handler.cc
@@ -87,7 +87,11 @@ bool IconsHandler::Validate(const Extension* extension,
base::span<const char* const> IconsHandler::Keys() const {
static constexpr const char* kKeys[] = {keys::kIcons};
+#if !defined(__GNUC__) || __GNUC__ > 5
return kKeys;
+#else
+ return base::make_span(kKeys, 1);
+#endif
}
} // namespace extensions