summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-layer_tree_impl-stlcompat.patch
blob: 8fd9ff17433f7f4259c90f8d2e209716a24805c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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_; }