diff options
author | Maxim Baz | 2019-07-03 18:16:27 +0200 |
---|---|---|
committer | Maxim Baz | 2019-07-03 18:16:27 +0200 |
commit | 1d3ade301507a078a809e31b4d8544cc08c66ef9 (patch) | |
tree | 6f3684982c0d322471318fb40d9a50776d43e4c2 /chromium-non-const-deltas.patch | |
parent | 182fe35a91ff5e957b5cc258f70a3b9fa1a0294d (diff) | |
download | aur-1d3ade301507a078a809e31b4d8544cc08c66ef9.tar.gz |
chromium-vaapi: 75.0.3770.100
Diffstat (limited to 'chromium-non-const-deltas.patch')
-rw-r--r-- | chromium-non-const-deltas.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium-non-const-deltas.patch b/chromium-non-const-deltas.patch new file mode 100644 index 000000000000..646cfd0f3893 --- /dev/null +++ b/chromium-non-const-deltas.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/686982 + +TabStripModelChange has a defaulted default constructor and a const data member +without a user-defined default constructor. This leads to a bug: + +error: defaulting this default constructor would delete it after +its first declaration + +We declare the data member as non-const instead. + +--- a/chrome/browser/ui/tabs/tab_strip_model_observer.h ++++ b/chrome/browser/ui/tabs/tab_strip_model_observer.h +@@ -103,7 +103,7 @@ class TabStripModelChange { + + private: + const Type type_ = kSelectionOnly; +- const std::vector<Delta> deltas_; ++ std::vector<Delta> deltas_; + + DISALLOW_COPY_AND_ASSIGN(TabStripModelChange); + }; |