Title: [250767] trunk/Source/WebCore
- Revision
- 250767
- Author
- za...@apple.com
- Date
- 2019-10-05 10:35:41 -0700 (Sat, 05 Oct 2019)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (250766 => 250767)
--- trunk/Source/WebCore/ChangeLog 2019-10-05 14:05:48 UTC (rev 250766)
+++ trunk/Source/WebCore/ChangeLog 2019-10-05 17:35:41 UTC (rev 250767)
@@ -1,5 +1,30 @@
2019-10-05 Zalan Bujtas <za...@apple.com>
+ [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.
+
+2019-10-05 Zalan Bujtas <za...@apple.com>
+
[LFC] Remove redundant includes.
https://bugs.webkit.org/show_bug.cgi?id=202610
<rdar://problem/56003250>
Modified: trunk/Source/WebCore/layout/layouttree/LayoutChildIterator.h (250766 => 250767)
--- trunk/Source/WebCore/layout/layouttree/LayoutChildIterator.h 2019-10-05 14:05:48 UTC (rev 250766)
+++ trunk/Source/WebCore/layout/layouttree/LayoutChildIterator.h 2019-10-05 17:35:41 UTC (rev 250767)
@@ -33,19 +33,19 @@
namespace Layout {
template <typename T>
-class LayoutChildtIterator : public LayoutIterator<T> {
+class LayoutChildIterator : public LayoutIterator<T> {
public:
- LayoutChildtIterator(const Container& parent);
- LayoutChildtIterator(const Container& parent, const T* current);
- LayoutChildtIterator& operator++();
+ LayoutChildIterator(const Container& parent);
+ LayoutChildIterator(const Container& parent, const T* current);
+ LayoutChildIterator& operator++();
};
template <typename T>
-class LayoutChildtIteratorAdapter {
+class LayoutChildIteratorAdapter {
public:
- LayoutChildtIteratorAdapter(const Container& parent);
- LayoutChildtIterator<T> begin() const;
- LayoutChildtIterator<T> end() const;
+ LayoutChildIteratorAdapter(const Container& parent);
+ LayoutChildIterator<T> begin() const;
+ LayoutChildIterator<T> end() const;
const T* first() const;
const T* last() const;
@@ -53,64 +53,64 @@
const Container& m_parent;
};
-template <typename T> LayoutChildtIteratorAdapter<T> childrenOfType(const Container&);
+template <typename T> LayoutChildIteratorAdapter<T> childrenOfType(const Container&);
-// LayoutChildtIterator
+// LayoutChildIterator
template <typename T>
-inline LayoutChildtIterator<T>::LayoutChildtIterator(const Container& parent)
+inline LayoutChildIterator<T>::LayoutChildIterator(const Container& parent)
: LayoutIterator<T>(&parent)
{
}
template <typename T>
-inline LayoutChildtIterator<T>::LayoutChildtIterator(const Container& parent, const T* current)
+inline LayoutChildIterator<T>::LayoutChildIterator(const Container& parent, const T* current)
: LayoutIterator<T>(&parent, current)
{
}
template <typename T>
-inline LayoutChildtIterator<T>& LayoutChildtIterator<T>::operator++()
+inline LayoutChildIterator<T>& LayoutChildIterator<T>::operator++()
{
- return static_cast<LayoutChildtIterator<T>&>(LayoutIterator<T>::traverseNextSibling());
+ return static_cast<LayoutChildIterator<T>&>(LayoutIterator<T>::traverseNextSibling());
}
-// LayoutChildtIteratorAdapter
+// LayoutChildIteratorAdapter
template <typename T>
-inline LayoutChildtIteratorAdapter<T>::LayoutChildtIteratorAdapter(const Container& parent)
+inline LayoutChildIteratorAdapter<T>::LayoutChildIteratorAdapter(const Container& parent)
: m_parent(parent)
{
}
template <typename T>
-inline LayoutChildtIterator<T> LayoutChildtIteratorAdapter<T>::begin() const
+inline LayoutChildIterator<T> LayoutChildIteratorAdapter<T>::begin() const
{
- return LayoutChildtIterator<T>(m_parent, Traversal::firstChild<T>(m_parent));
+ return LayoutChildIterator<T>(m_parent, Traversal::firstChild<T>(m_parent));
}
template <typename T>
-inline LayoutChildtIterator<T> LayoutChildtIteratorAdapter<T>::end() const
+inline LayoutChildIterator<T> LayoutChildIteratorAdapter<T>::end() const
{
- return LayoutChildtIterator<T>(m_parent);
+ return LayoutChildIterator<T>(m_parent);
}
template <typename T>
-inline const T* LayoutChildtIteratorAdapter<T>::first() const
+inline const T* LayoutChildIteratorAdapter<T>::first() const
{
return Traversal::firstChild<T>(m_parent);
}
template <typename T>
-inline const T* LayoutChildtIteratorAdapter<T>::last() const
+inline const T* LayoutChildIteratorAdapter<T>::last() const
{
return Traversal::lastChild<T>(m_parent);
}
template <typename T>
-inline LayoutChildtIteratorAdapter<T> childrenOfType(const Container& parent)
+inline LayoutChildIteratorAdapter<T> childrenOfType(const Container& parent)
{
- return LayoutChildtIteratorAdapter<T>(parent);
+ return LayoutChildIteratorAdapter<T>(parent);
}
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes