summarylogtreecommitdiffstats
path: root/0001-Add-missing-algorithm-header-in-bitmap_cursor_factor.patch
blob: ba05707cb0badf66627fbfbeb4c421ef8b92bdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 1def13d08fb76df631b604af75e754df94626c0c Mon Sep 17 00:00:00 2001
From: Daniel Playfair Cal <daniel.playfair.cal@gmail.com>
Date: Fri, 13 Dec 2019 11:48:23 +0000
Subject: [PATCH] Add missing algorithm header in
 bitmap_cursor_factory_ozone.cc

This is needed for the use of std::find_if

Change-Id: Ica47d3d323f5b2e115463372824b1af84b2294bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1963832
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Reviewed-by: Maksim Sisov <msisov@igalia.com>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Auto-Submit: Daniel Playfair Cal <daniel.playfair.cal@gmail.com>
Cr-Commit-Position: refs/heads/master@{#724589}
---
 AUTHORS                                             | 1 +
 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/AUTHORS b/AUTHORS
index 751283238162..bf8810c3f109 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -205,6 +205,7 @@ Daniel Johnson <danielj41@gmail.com>
 Daniel Lockyer <thisisdaniellockyer@gmail.com>
 Daniel Nishi <dhnishi@gmail.com>
 Daniel Platz <daplatz@googlemail.com>
+Daniel Playfair Cal <daniel.playfair.cal@gmail.com>
 Daniel Shaulov <dshaulov@ptc.com>
 Daniel Trebbien <dtrebbien@gmail.com>
 Daniel Waxweiler <daniel.waxweiler@gmail.com>
diff --git a/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc b/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc
index 71ec564b4803..f79d7932e236 100644
--- a/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc
+++ b/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc
@@ -4,6 +4,8 @@
 
 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h"
 
+#include <algorithm>
+
 #include "base/logging.h"
 #include "third_party/skia/include/core/SkBitmap.h"
 #include "ui/base/cursor/cursors_aura.h"
-- 
2.24.1