Added
Link Here
|
1 |
--- modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h.orig 2020-07-17 10:21:33 UTC |
2 |
+++ modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h |
3 |
@@ -143,7 +143,7 @@ bool inherits(VM& vm, From* from) |
4 |
bool inherits(VM& vm, From* from) |
5 |
{ |
6 |
using Dispatcher = InheritsTraits<Target>; |
7 |
- return Dispatcher::template inherits(vm, from); |
8 |
+ return Dispatcher::template inherits<>(vm, from); |
9 |
} |
10 |
|
11 |
} // namespace JSCastingHelpers |
12 |
@@ -152,7 +152,7 @@ To jsDynamicCast(VM& vm, From* from) |
13 |
To jsDynamicCast(VM& vm, From* from) |
14 |
{ |
15 |
using Dispatcher = JSCastingHelpers::InheritsTraits<typename std::remove_cv<typename std::remove_pointer<To>::type>::type>; |
16 |
- if (LIKELY(Dispatcher::template inherits(vm, from))) |
17 |
+ if (LIKELY(Dispatcher::template inherits<>(vm, from))) |
18 |
return static_cast<To>(from); |
19 |
return nullptr; |
20 |
} |