--- chromium-79.0.3945.16/components/viz/common/resources/resource_sizes.h.gcc9-3 2019-10-29 23:02:00.000000000 +0100 +++ chromium-79.0.3945.16/components/viz/common/resources/resource_sizes.h 2019-11-04 20:01:07.684498329 +0100 @@ -144,6 +144,7 @@ bool ResourceSizes::MaybeSizeInBytes(con return MaybeSizeInBytesInternal<T>(size, format, false, bytes); } +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" template <typename T> T ResourceSizes::CheckedWidthInBytes(int width, ResourceFormat format) { VerifyType<T>(); @@ -162,6 +163,7 @@ T ResourceSizes::CheckedSizeInBytes(cons CHECK(MaybeSizeInBytesInternal<T>(size, format, false, &bytes)); return bytes; } +#pragma GCC diagnostic pop template <typename T> T ResourceSizes::UncheckedWidthInBytes(int width, ResourceFormat format) {