summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2018-09-13 11:19:09 -0600
committerKenny Ballou <kballou@devnulllabs.io>2018-09-13 11:19:09 -0600
commitd2e0a43590ccf996fa433cf2dff32ac77d7f085f (patch)
tree6bd7e45240bf335330d239a95d04b8cff8669e59 /patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch
parent9fc8c5f3fd2e1d661c9812c2b41090087d438586 (diff)
downloadgentoo.patches-d2e0a43590ccf996fa433cf2dff32ac77d7f085f.tar.gz
gentoo.patches-d2e0a43590ccf996fa433cf2dff32ac77d7f085f.tar.xz
www-client/chromium: rename to target chromium-68
Rename chromium patches to target specifically chromium-68. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch')
-rw-r--r--patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch b/patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch
new file mode 100644
index 0000000..61fc1ff
--- /dev/null
+++ b/patches/www-client/chromium-68.0.3440.75/input_event_prediciton.patch
@@ -0,0 +1,15 @@
+description: https://657472.bugs.gentoo.org/attachment.cgi?id=535038
+author: Marcus Comstedt <marcus@mc.pp.se>
+
+--- chromium-68.0.3438.3/content/renderer/input/input_event_prediction.cc.orig 2018-06-06 09:07:59.226082299 +0200
++++ chromium-68.0.3438.3/content/renderer/input/input_event_prediction.cc 2018-06-06 09:09:40.725750812 +0200
+@@ -119,7 +119,8 @@
+ if (predictor != pointer_id_predictor_map_.end()) {
+ predictor->second->Update(data);
+ } else {
+- pointer_id_predictor_map_.insert({event.id, SetUpPredictor()});
++ auto pair = std::make_pair(event.id, SetUpPredictor());
++ pointer_id_predictor_map_.insert(std::move(pair));
+ pointer_id_predictor_map_[event.id]->Update(data);
+ }
+ }