File chromium-116-lp155-typenames.patch of Package chromium.18050
Index: chromium-116.0.5845.96/third_party/blink/renderer/core/paint/object_paint_properties_sparse.h
===================================================================
--- chromium-116.0.5845.96.orig/third_party/blink/renderer/core/paint/object_paint_properties_sparse.h
+++ chromium-116.0.5845.96/third_party/blink/renderer/core/paint/object_paint_properties_sparse.h
@@ -270,8 +270,8 @@ class CORE_EXPORT ObjectPaintPropertiesS
NodeList& nodes,
NodeId node_id,
const ParentType& parent,
- NodeType::State&& state,
- const NodeType::AnimationState& animation_state =
+ typename NodeType::State&& state,
+ const typename NodeType::AnimationState& animation_state =
NodeType::AnimationState()) {
// First, check if we need to add a new node.
if (!nodes.HasField(node_id)) {
Index: chromium-116.0.5845.96/content/public/browser/web_ui_browser_interface_broker_registry.h
===================================================================
--- chromium-116.0.5845.96.orig/content/public/browser/web_ui_browser_interface_broker_registry.h
+++ chromium-116.0.5845.96/content/public/browser/web_ui_browser_interface_broker_registry.h
@@ -127,10 +127,10 @@ class CONTENT_EXPORT WebUIBrowserInterfa
//
// 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