summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-14 19:01:18 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-14 19:01:18 -0400
commit846cdbdbf965fc50478bcc4c6436e3dc6a489f3f (patch)
tree4a39385c982291a110f513871aba340f0a7a061e /www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch
downloadppo-846cdbdbf965fc50478bcc4c6436e3dc6a489f3f.tar.xz
Initial commit.
Diffstat (limited to 'www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch')
-rw-r--r--www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch b/www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch
new file mode 100644
index 0000000..8fd9ff1
--- /dev/null
+++ b/www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch
@@ -0,0 +1,13 @@
+diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
+index f74d18f65..7cdc29e44 100644
+--- a/cc/trees/layer_tree_impl.h
++++ b/cc/trees/layer_tree_impl.h
+@@ -194,7 +194,7 @@ class CC_EXPORT LayerTreeImpl {
+ // Adapts an iterator of std::unique_ptr<LayerImpl> to an iterator of
+ // LayerImpl*.
+ template <typename Iterator>
+- class IteratorAdapter {
++ class IteratorAdapter : public std::iterator<std::forward_iterator_tag, LayerImpl*> {
+ public:
+ explicit IteratorAdapter(Iterator it) : it_(it) {}
+ bool operator==(IteratorAdapter o) const { return it_ == o.it_; }