1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 07:55:07 +00:00
serenity/Libraries/LibWeb/HighResolutionTime
AnotherTest 060ddd2a7a AK: Really disallow making OwnPtrs from refcounted types
This looks at three things:
- if the type has a typedef `AllowOwnPtr', respect that
- if not, disallow construction if both of `ref()' and `unref()' are
  present.
Note that in the second case, if a type only defines `ref()' or only
defines `unref()', an OwnPtr can be created, as a RefPtr of that type
would be ill-formed.

Also marks a `Performance' to explicitly allow OwnPtrs.
2020-11-03 19:14:34 +01:00
..
Performance.cpp LibWeb: Implement performance.timeOrigin 2020-09-29 18:31:07 +02:00
Performance.h AK: Really disallow making OwnPtrs from refcounted types 2020-11-03 19:14:34 +01:00
Performance.idl LibWeb: Implement performance.timeOrigin 2020-09-29 18:31:07 +02:00