qt5-webengine: fix build on gcc12

This commit is contained in:
oreo639 2022-08-15 18:54:53 -07:00 committed by Đoàn Trần Công Danh
parent b4a2a5b9fd
commit ae08492467
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Add missing include for std::begin and std::end in SkParseColor.cpp
https://skia-review.googlesource.com/c/skia/+/533981
--- a/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp
+++ b/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp
@@ -8,6 +8,8 @@
#include "include/utils/SkParse.h"
+#include <iterator>
+
static constexpr const char* gColorNames[] = {
"aliceblue",
"antiquewhite",