aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_public_browser_web__ui__browser__interface__broker__registry.h
blob: b3a3ed2eba35880738ed229b589c05c7a12e0847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- content/public/browser/web_ui_browser_interface_broker_registry.h.orig	2023-08-17 07:33:31 UTC
+++ content/public/browser/web_ui_browser_interface_broker_registry.h
@@ -127,10 +127,10 @@ class CONTENT_EXPORT WebUIBrowserInterfaceBrokerRegist
   //
   // TODO(crbug.com/1407936): Point to WebUIJsBridge documentation.
   template <typename ControllerType>
-  JsBridgeTraits<ControllerType>::BinderInitializer& ForWebUIWithJsBridge() {
+  typename JsBridgeTraits<ControllerType>::BinderInitializer& ForWebUIWithJsBridge() {
     using Traits = JsBridgeTraits<ControllerType>;
-    using Interface = Traits::Interface;
-    using JsBridgeBinderInitializer = Traits::BinderInitializer;
+    using Interface = typename Traits::Interface;
+    using JsBridgeBinderInitializer = typename Traits::BinderInitializer;
 
     // WebUIController::GetType() requires an instantiated WebUIController
     // (because it's a virtual method and can't be static). Here we only have