summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2023-02-14 15:41:33 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2023-02-15 15:13:23 +0000
commit5395ae2518120f371185e6120c98abef814d97bf (patch)
tree7861e43a355ab39a1a2f47ac34c75be658e37e09
parentd29902afc5bd4d3ae0fb16125bfc0970cde21ae3 (diff)
downloadqtwebengine-chromium-5395ae2518120f371185e6120c98abef814d97bf.tar.gz
[Backport] Add missing include for std::begin and std::end in SkParseColor.cpp
Change-Id: I8b7db87b750f8eaf8a466d53177e19d65fa034a8 Review-URL: https://skia-review.googlesource.com/c/skia/+/533981 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/460367 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/third_party/skia/src/utils/SkParseColor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/third_party/skia/src/utils/SkParseColor.cpp b/chromium/third_party/skia/src/utils/SkParseColor.cpp
index 7260365b2c6..0dc3497062f 100644
--- a/chromium/third_party/skia/src/utils/SkParseColor.cpp
+++ b/chromium/third_party/skia/src/utils/SkParseColor.cpp
@@ -8,6 +8,9 @@
#include "include/utils/SkParse.h"
+#include <algorithm> // std::lower_bound
+#include <iterator>
+
static constexpr const char* gColorNames[] = {
"aliceblue",
"antiquewhite",