Title: [264180] trunk/Source/WTF
- Revision
- 264180
- Author
- calva...@igalia.com
- Date
- 2020-07-09 10:33:55 -0700 (Thu, 09 Jul 2020)
Log Message
Simplify BoxPtr::create
https://bugs.webkit.org/show_bug.cgi?id=214144
Reviewed by Darin Adler.
* wtf/BoxPtr.h:
(WTF::createBoxPtr): Use the alias instead of the unrolled type.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (264179 => 264180)
--- trunk/Source/WTF/ChangeLog 2020-07-09 17:17:32 UTC (rev 264179)
+++ trunk/Source/WTF/ChangeLog 2020-07-09 17:33:55 UTC (rev 264180)
@@ -1,3 +1,13 @@
+2020-07-09 Xabier Rodriguez Calvar <calva...@igalia.com>
+
+ Simplify BoxPtr::create
+ https://bugs.webkit.org/show_bug.cgi?id=214144
+
+ Reviewed by Darin Adler.
+
+ * wtf/BoxPtr.h:
+ (WTF::createBoxPtr): Use the alias instead of the unrolled type.
+
2020-07-09 Per Arne Vollan <pvol...@apple.com>
[Cocoa] Update Launch Services database in the WebContent process from the Network process
Modified: trunk/Source/WTF/wtf/BoxPtr.h (264179 => 264180)
--- trunk/Source/WTF/wtf/BoxPtr.h 2020-07-09 17:17:32 UTC (rev 264179)
+++ trunk/Source/WTF/wtf/BoxPtr.h 2020-07-09 17:33:55 UTC (rev 264180)
@@ -48,7 +48,7 @@
template<typename T> BoxPtr<T> createBoxPtr(T* ptr)
{
- return Box<std::unique_ptr<T, BoxPtrDeleter<T>>>::create(ptr);
+ return BoxPtr<T>::create(ptr);
}
template<typename T> bool operator==(const BoxPtr<T>& lhs, const BoxPtr<T>& rhs)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes