summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-ngphyscontainer-iterator-cat-83.patch
blob: 1ab52d52bba90c38ec26f09e9bd7c185e907b003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h b/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
index b3c7624f4..6efe44a66 100644
--- a/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
+++ b/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
@@ -51,6 +51,12 @@ class CORE_EXPORT NGPhysicalContainerFragment : public NGPhysicalFragment {
         return current_ != other.current_;
       }
 
+      using iterator_category = std::forward_iterator_tag;
+      using value_type = NGLink*;
+      using reference = value_type&;
+      using pointer = value_type*;
+      using difference_type = ptrdiff_t;
+
      private:
       const NGLink* PostLayoutOrCurrent() const {
         post_layout_.fragment = current_->fragment->PostLayout();