summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/NavigationTiming
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-04-10 18:29:06 +0430
committerAndreas Kling <kling@serenityos.org>2021-04-10 21:01:31 +0200
commita6e448208052c2d03fca53a4061a367b33167d37 (patch)
tree0d6f84d1257e2af57d28a3102d0622fcf716782b /Userland/Libraries/LibWeb/NavigationTiming
parentd8d16dea957f15f07ebb08d1578e21d97fc163bc (diff)
downloadserenity-a6e448208052c2d03fca53a4061a367b33167d37.zip
AK+Everywhere: Make StdLibExtras templates less wrapper-y
This commit makes the user-facing StdLibExtras templates and utilities arguably more nice-looking by removing the need to reach into the wrapper structs generated by them to get the value/type needed. The C++ standard library had to invent `_v` and `_t` variants (likely because of backwards compat), but we don't need to cater to any codebase except our own, so might as well have good things for free. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/NavigationTiming')
-rw-r--r--Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h b/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
index 1460ccee50..776e40e98e 100644
--- a/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
+++ b/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
@@ -34,7 +34,7 @@ namespace Web::NavigationTiming {
class PerformanceTiming final : public Bindings::Wrappable {
public:
using WrapperType = Bindings::PerformanceTimingWrapper;
- using AllowOwnPtr = AK::TrueType;
+ using AllowOwnPtr = TrueType;
explicit PerformanceTiming(DOM::Window&);
~PerformanceTiming();