Changeset 250767 in webkit


Ignore:
Timestamp:
Oct 5, 2019 10:35:41 AM (5 years ago)
Author:
Alan Bujtas
Message:

[LFC] LayoutChildtIteratorAdapter -> LayoutChildIteratorAdapter
https://bugs.webkit.org/show_bug.cgi?id=202612
<rdar://problem/56007611>

Reviewed by Anders Carlsson.

  • layout/layouttree/LayoutChildIterator.h:

(WebCore::Layout::LayoutChildIterator<T>::LayoutChildIterator):
(WebCore::Layout::LayoutChildIterator<T>::operator):
(WebCore::Layout::LayoutChildIteratorAdapter<T>::LayoutChildIteratorAdapter):
(WebCore::Layout::LayoutChildIteratorAdapter<T>::begin const):
(WebCore::Layout::LayoutChildIteratorAdapter<T>::end const):
(WebCore::Layout::LayoutChildIteratorAdapter<T>::first const):
(WebCore::Layout::LayoutChildIteratorAdapter<T>::last const):
(WebCore::Layout::childrenOfType):
(WebCore::Layout::LayoutChildtIterator<T>::LayoutChildtIterator): Deleted.
(WebCore::Layout::LayoutChildtIterator<T>::operator): Deleted.
(WebCore::Layout::LayoutChildtIteratorAdapter<T>::LayoutChildtIteratorAdapter): Deleted.
(WebCore::Layout::LayoutChildtIteratorAdapter<T>::begin const): Deleted.
(WebCore::Layout::LayoutChildtIteratorAdapter<T>::end const): Deleted.
(WebCore::Layout::LayoutChildtIteratorAdapter<T>::first const): Deleted.
(WebCore::Layout::LayoutChildtIteratorAdapter<T>::last const): Deleted.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r250766 r250767  
     12019-10-05  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC] LayoutChildtIteratorAdapter -> LayoutChildIteratorAdapter
     4        https://bugs.webkit.org/show_bug.cgi?id=202612
     5        <rdar://problem/56007611>
     6
     7        Reviewed by Anders Carlsson.
     8
     9        * layout/layouttree/LayoutChildIterator.h:
     10        (WebCore::Layout::LayoutChildIterator<T>::LayoutChildIterator):
     11        (WebCore::Layout::LayoutChildIterator<T>::operator):
     12        (WebCore::Layout::LayoutChildIteratorAdapter<T>::LayoutChildIteratorAdapter):
     13        (WebCore::Layout::LayoutChildIteratorAdapter<T>::begin const):
     14        (WebCore::Layout::LayoutChildIteratorAdapter<T>::end const):
     15        (WebCore::Layout::LayoutChildIteratorAdapter<T>::first const):
     16        (WebCore::Layout::LayoutChildIteratorAdapter<T>::last const):
     17        (WebCore::Layout::childrenOfType):
     18        (WebCore::Layout::LayoutChildtIterator<T>::LayoutChildtIterator): Deleted.
     19        (WebCore::Layout::LayoutChildtIterator<T>::operator): Deleted.
     20        (WebCore::Layout::LayoutChildtIteratorAdapter<T>::LayoutChildtIteratorAdapter): Deleted.
     21        (WebCore::Layout::LayoutChildtIteratorAdapter<T>::begin const): Deleted.
     22        (WebCore::Layout::LayoutChildtIteratorAdapter<T>::end const): Deleted.
     23        (WebCore::Layout::LayoutChildtIteratorAdapter<T>::first const): Deleted.
     24        (WebCore::Layout::LayoutChildtIteratorAdapter<T>::last const): Deleted.
     25
    1262019-10-05  Zalan Bujtas  <zalan@apple.com>
    227
  • trunk/Source/WebCore/layout/layouttree/LayoutChildIterator.h

    r231093 r250767  
    3434
    3535template <typename T>
    36 class LayoutChildtIterator : public LayoutIterator<T> {
     36class LayoutChildIterator : public LayoutIterator<T> {
    3737public:
    38     LayoutChildtIterator(const Container& parent);
    39     LayoutChildtIterator(const Container& parent, const T* current);
    40     LayoutChildtIterator& operator++();
     38    LayoutChildIterator(const Container& parent);
     39    LayoutChildIterator(const Container& parent, const T* current);
     40    LayoutChildIterator& operator++();
    4141};
    4242
    4343template <typename T>
    44 class LayoutChildtIteratorAdapter {
     44class LayoutChildIteratorAdapter {
    4545public:
    46     LayoutChildtIteratorAdapter(const Container& parent);
    47     LayoutChildtIterator<T> begin() const;
    48     LayoutChildtIterator<T> end() const;
     46    LayoutChildIteratorAdapter(const Container& parent);
     47    LayoutChildIterator<T> begin() const;
     48    LayoutChildIterator<T> end() const;
    4949    const T* first() const;
    5050    const T* last() const;
     
    5454};
    5555
    56 template <typename T> LayoutChildtIteratorAdapter<T> childrenOfType(const Container&);
     56template <typename T> LayoutChildIteratorAdapter<T> childrenOfType(const Container&);
    5757
    58 // LayoutChildtIterator
     58// LayoutChildIterator
    5959
    6060template <typename T>
    61 inline LayoutChildtIterator<T>::LayoutChildtIterator(const Container& parent)
     61inline LayoutChildIterator<T>::LayoutChildIterator(const Container& parent)
    6262    : LayoutIterator<T>(&parent)
    6363{
     
    6565
    6666template <typename T>
    67 inline LayoutChildtIterator<T>::LayoutChildtIterator(const Container& parent, const T* current)
     67inline LayoutChildIterator<T>::LayoutChildIterator(const Container& parent, const T* current)
    6868    : LayoutIterator<T>(&parent, current)
    6969{
     
    7171
    7272template <typename T>
    73 inline LayoutChildtIterator<T>& LayoutChildtIterator<T>::operator++()
     73inline LayoutChildIterator<T>& LayoutChildIterator<T>::operator++()
    7474{
    75     return static_cast<LayoutChildtIterator<T>&>(LayoutIterator<T>::traverseNextSibling());
     75    return static_cast<LayoutChildIterator<T>&>(LayoutIterator<T>::traverseNextSibling());
    7676}
    7777
    78 // LayoutChildtIteratorAdapter
     78// LayoutChildIteratorAdapter
    7979
    8080template <typename T>
    81 inline LayoutChildtIteratorAdapter<T>::LayoutChildtIteratorAdapter(const Container& parent)
     81inline LayoutChildIteratorAdapter<T>::LayoutChildIteratorAdapter(const Container& parent)
    8282    : m_parent(parent)
    8383{
     
    8585
    8686template <typename T>
    87 inline LayoutChildtIterator<T> LayoutChildtIteratorAdapter<T>::begin() const
     87inline LayoutChildIterator<T> LayoutChildIteratorAdapter<T>::begin() const
    8888{
    89     return LayoutChildtIterator<T>(m_parent, Traversal::firstChild<T>(m_parent));
     89    return LayoutChildIterator<T>(m_parent, Traversal::firstChild<T>(m_parent));
    9090}
    9191
    9292template <typename T>
    93 inline LayoutChildtIterator<T> LayoutChildtIteratorAdapter<T>::end() const
     93inline LayoutChildIterator<T> LayoutChildIteratorAdapter<T>::end() const
    9494{
    95     return LayoutChildtIterator<T>(m_parent);
     95    return LayoutChildIterator<T>(m_parent);
    9696}
    9797
    9898template <typename T>
    99 inline const T* LayoutChildtIteratorAdapter<T>::first() const
     99inline const T* LayoutChildIteratorAdapter<T>::first() const
    100100{
    101101    return Traversal::firstChild<T>(m_parent);
     
    103103
    104104template <typename T>
    105 inline const T* LayoutChildtIteratorAdapter<T>::last() const
     105inline const T* LayoutChildIteratorAdapter<T>::last() const
    106106{
    107107    return Traversal::lastChild<T>(m_parent);
     
    109109
    110110template <typename T>
    111 inline LayoutChildtIteratorAdapter<T> childrenOfType(const Container& parent)
     111inline LayoutChildIteratorAdapter<T> childrenOfType(const Container& parent)
    112112{
    113     return LayoutChildtIteratorAdapter<T>(parent);
     113    return LayoutChildIteratorAdapter<T>(parent);
    114114}
    115115
Note: See TracChangeset for help on using the changeset viewer.