diff options
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.patch | 13 |
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_; } |