Title: [245271] trunk/Source/WTF
Revision
245271
Author
rmoris...@apple.com
Date
2019-05-13 20:38:13 -0700 (Mon, 13 May 2019)

Log Message

IndexSet::isEmpty should use BitVector::isEmpty() instead of size()
https://bugs.webkit.org/show_bug.cgi?id=197857

Reviewed by Darin Adler.

* wtf/IndexSet.h:
(WTF::IndexSet::isEmpty const):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (245270 => 245271)


--- trunk/Source/WTF/ChangeLog	2019-05-14 02:34:28 UTC (rev 245270)
+++ trunk/Source/WTF/ChangeLog	2019-05-14 03:38:13 UTC (rev 245271)
@@ -1,3 +1,13 @@
+2019-05-13  Robin Morisset  <rmoris...@apple.com>
+
+        IndexSet::isEmpty should use BitVector::isEmpty() instead of size()
+        https://bugs.webkit.org/show_bug.cgi?id=197857
+
+        Reviewed by Darin Adler.
+
+        * wtf/IndexSet.h:
+        (WTF::IndexSet::isEmpty const):
+
 2019-05-13  Youenn Fablet  <you...@apple.com>
 
         [Mac] Use realpath for dlopen_preflight

Modified: trunk/Source/WTF/wtf/IndexSet.h (245270 => 245271)


--- trunk/Source/WTF/wtf/IndexSet.h	2019-05-14 02:34:28 UTC (rev 245270)
+++ trunk/Source/WTF/wtf/IndexSet.h	2019-05-14 03:38:13 UTC (rev 245271)
@@ -76,7 +76,7 @@
 
     bool isEmpty() const
     {
-        return !size();
+        return m_set.isEmpty();
     }
 
     template<typename CollectionType>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to