summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium/background_fetch_context.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2018-09-07 10:13:12 -0600
committerKenny Ballou <kballou@devnulllabs.io>2018-09-07 10:13:12 -0600
commit0048b5494c59211f54f9c97a769da636ad297550 (patch)
treea902b5b7830bf2447b9c31679109e238e2653dfa /patches/www-client/chromium/background_fetch_context.patch
parent2acd816466bfb9f36ec0537c26d3c3fa35f7c40f (diff)
downloadgentoo.patches-0048b5494c59211f54f9c97a769da636ad297550.tar.gz
gentoo.patches-0048b5494c59211f54f9c97a769da636ad297550.tar.xz
Add patches directory
Move patches into a subdirectory of `patches`. This will make installation easier as all the different targets won't be collected into the same root folder tree. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium/background_fetch_context.patch')
-rw-r--r--patches/www-client/chromium/background_fetch_context.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/www-client/chromium/background_fetch_context.patch b/patches/www-client/chromium/background_fetch_context.patch
new file mode 100644
index 0000000..57714f6
--- /dev/null
+++ b/patches/www-client/chromium/background_fetch_context.patch
@@ -0,0 +1,14 @@
+description: https://657472.bugs.gentoo.org/attachment.cgi?id=535038
+author: Marcus Comstedt <marcus@mc.pp.se>
+
+--- chromium-68.0.3438.3/content/browser/background_fetch/background_fetch_context.cc.orig 2018-06-05 22:27:27.977301187 +0200
++++ chromium-68.0.3438.3/content/browser/background_fetch/background_fetch_context.cc 2018-06-05 23:00:11.661703304 +0200
+@@ -218,7 +218,8 @@
+
+ scheduler_->AddJobController(controller.get());
+
+- job_controllers_.insert({unique_id, std::move(controller)});
++ auto pair = std::make_pair(unique_id, std::move(controller));
++ job_controllers_.insert(std::move(pair));
+ std::move(done_closure).Run();
+ }