diff --color -Naru a/src/3rdparty/chromium/base/task/thread_pool.cc b/src/3rdparty/chromium/base/task/thread_pool.cc --- a/src/3rdparty/chromium/base/task/thread_pool.cc 2021-11-01 14:22:57.384327863 +0100 +++ b/src/3rdparty/chromium/base/task/thread_pool.cc 2021-11-01 14:23:22.862328432 +0100 @@ -15,10 +15,10 @@ namespace { -class PostTaskAndReplyWithTraitsTaskRunner +class PostTaskAndReplyWithTraitsTaskRunnerTP : public internal::PostTaskAndReplyImpl { public: - explicit PostTaskAndReplyWithTraitsTaskRunner(const TaskTraits& traits) + explicit PostTaskAndReplyWithTraitsTaskRunnerTP(const TaskTraits& traits) : traits_(traits) {} private: @@ -85,7 +85,7 @@ const TaskTraits& traits, OnceClosure task, OnceClosure reply) { - return PostTaskAndReplyWithTraitsTaskRunner(traits).PostTaskAndReply( + return PostTaskAndReplyWithTraitsTaskRunnerTP(traits).PostTaskAndReply( from_here, std::move(task), std::move(reply)); } diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/core/animation/document_animations.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/animation/document_animations.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/core/animation/document_animations.cc 2021-11-01 14:22:59.243327904 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/animation/document_animations.cc 2021-11-01 14:23:22.860328432 +0100 @@ -57,8 +57,8 @@ document.GetWorkletAnimationController().UpdateAnimationTimings(reason); } -bool CompareAnimations(const Member& left, - const Member& right) { +bool CompareAnimationsDocument(const Member& left, + const Member& right) { return Animation::HasLowerCompositeOrdering( left.Get(), right.Get(), Animation::CompareAnimationsOrdering::kTreeOrder); @@ -157,7 +157,7 @@ else GetAnimationsTargetingTreeScope(animations, tree_scope); - std::sort(animations.begin(), animations.end(), CompareAnimations); + std::sort(animations.begin(), animations.end(), CompareAnimationsDocument); return animations; } @@ -203,7 +203,7 @@ // By processing in decreasing order by priority, we can perform a single // pass for discovery of replaced properties. - std::sort(animations->begin(), animations->end(), CompareAnimations); + std::sort(animations->begin(), animations->end(), CompareAnimationsDocument); PropertyHandleSet replaced_properties; for (auto anim_it = animations->rbegin(); anim_it != animations->rend(); anim_it++) { diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/date_time_chooser_impl.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/date_time_chooser_impl.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/date_time_chooser_impl.cc 2021-11-01 14:22:59.224327904 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/date_time_chooser_impl.cc 2021-11-01 14:23:22.860328432 +0100 @@ -129,11 +129,11 @@ data); data->Append(ChooserResourceLoader::GetPickerCommonStyleSheet()); - if (!features::IsFormControlsRefreshEnabled()) + if (!::features::IsFormControlsRefreshEnabled()) data->Append(ChooserResourceLoader::GetPickerButtonStyleSheet()); data->Append(ChooserResourceLoader::GetSuggestionPickerStyleSheet()); data->Append(ChooserResourceLoader::GetCalendarPickerStyleSheet()); - if (features::IsFormControlsRefreshEnabled()) { + if (::features::IsFormControlsRefreshEnabled()) { data->Append(ChooserResourceLoader::GetCalendarPickerRefreshStyleSheet()); if (parameters_->type == input_type_names::kTime || parameters_->type == input_type_names::kDatetimeLocal) { @@ -183,9 +183,9 @@ AddProperty("isLocaleRTL", locale_->IsRTL(), data); AddProperty("isRTL", parameters_->is_anchor_element_rtl, data); AddProperty("isFormControlsRefreshEnabled", - features::IsFormControlsRefreshEnabled(), data); + ::features::IsFormControlsRefreshEnabled(), data); #if defined(OS_MAC) - AddProperty("isBorderTransparent", features::IsFormControlsRefreshEnabled(), + AddProperty("isBorderTransparent", ::features::IsFormControlsRefreshEnabled(), data); #endif AddProperty("mode", parameters_->type.GetString(), data); @@ -236,7 +236,7 @@ data->Append(ChooserResourceLoader::GetPickerCommonJS()); data->Append(ChooserResourceLoader::GetSuggestionPickerJS()); - if (features::IsFormControlsRefreshEnabled()) { + if (::features::IsFormControlsRefreshEnabled()) { data->Append(ChooserResourceLoader::GetMonthPickerJS()); if (parameters_->type == input_type_names::kTime) { data->Append(ChooserResourceLoader::GetTimePickerJS()); diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc 2021-11-01 14:22:59.224327904 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/multiple_fields_temporal_input_type_view.cc 2021-11-01 14:23:22.861328432 +0100 @@ -296,7 +296,7 @@ if (input_type_->FormControlType() == input_type_names::kTime) { if (date.ParseTime(value, 0, end) && end == value.length()) edit->SetOnlyTime(date); - } else if (features::IsFormControlsRefreshEnabled() && + } else if (::features::IsFormControlsRefreshEnabled() && input_type_->FormControlType() == input_type_names::kDatetimeLocal) { if (date.ParseDateTimeLocal(value, 0, end) && end == value.length()) @@ -397,7 +397,7 @@ MakeGarbageCollected(document, *this)); - if (!features::IsFormControlsRefreshEnabled()) { + if (!::features::IsFormControlsRefreshEnabled()) { GetElement().UpdateView(); container->AppendChild( MakeGarbageCollectedOpenPopup(); event.SetDefaultHandled(); diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/picker_indicator_element.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/picker_indicator_element.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/picker_indicator_element.cc 2021-11-01 14:22:59.222327904 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/html/forms/picker_indicator_element.cc 2021-11-01 14:24:18.588329679 +0100 @@ -60,7 +60,7 @@ LayoutObject* PickerIndicatorElement::CreateLayoutObject( const ComputedStyle& style, LegacyLayout legacy) { - if (features::IsFormControlsRefreshEnabled()) + if (::features::IsFormControlsRefreshEnabled()) return HTMLDivElement::CreateLayoutObject(style, legacy); UseCounter::Count(GetDocument(), WebFeature::kLegacyLayoutByDetailsMarker); diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc 2021-11-01 14:22:59.183327903 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc 2021-11-01 14:23:22.862328432 +0100 @@ -252,9 +252,9 @@ ts << " [id=\"" << resource.Target()->GetIdAttribute() << "\"]"; } -static base::Optional ResolveColor(const ComputedStyle& style, - const SVGPaint& paint, - const SVGPaint& visited_paint) { +static base::Optional ResolveColorSVG(const ComputedStyle& style, + const SVGPaint& paint, + const SVGPaint& visited_paint) { if (!paint.HasColor()) return base::nullopt; Color color = style.ResolvedColor(paint.GetColor()); @@ -283,7 +283,7 @@ return true; } } - if (base::Optional color = ResolveColor(style, paint, visited_paint)) { + if (base::Optional color = ResolveColorSVG(style, paint, visited_paint)) { ts << " [" << paint_name << "={" << s; ts << "[type=SOLID] [color=" << *color << "]"; return true; diff --color -Naru a/src/3rdparty/chromium/third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.cc b/src/3rdparty/chromium/third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.cc --- a/src/3rdparty/chromium/third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.cc 2021-11-01 14:22:59.299327905 +0100 +++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.cc 2021-11-01 14:25:50.143331727 +0100 @@ -20,7 +20,7 @@ void* const kPeerConnectionRemoteTrackIdentifier = const_cast(&kPeerConnectionRemoteTrackIdentifier); -void SendLogMessage(const std::string& message) { +void SendLogMessageRTC(const std::string& message) { blink::WebRtcLogMessage("PCRAS::" + message); } @@ -82,12 +82,12 @@ track_interface_(std::move(track_interface)), is_sink_of_peer_connection_(false) { DCHECK(track_interface_); - SendLogMessage(base::StringPrintf("PeerConnectionRemoteAudioSource([id=%s])", + SendLogMessageRTC(base::StringPrintf("PeerConnectionRemoteAudioSource([id=%s])", track_interface_->id().c_str())); } PeerConnectionRemoteAudioSource::~PeerConnectionRemoteAudioSource() { - SendLogMessage(base::StringPrintf("~PeerConnectionRemoteAudioSource([id=%s])", + SendLogMessageRTC(base::StringPrintf("~PeerConnectionRemoteAudioSource([id=%s])", track_interface_->id().c_str())); EnsureSourceIsStopped(); } @@ -103,7 +103,7 @@ DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); if (is_sink_of_peer_connection_) return true; - SendLogMessage(base::StringPrintf("EnsureSourceIsStarted([id=%s])", + SendLogMessageRTC(base::StringPrintf("EnsureSourceIsStarted([id=%s])", track_interface_->id().c_str())); track_interface_->AddSink(this); is_sink_of_peer_connection_ = true; @@ -113,7 +113,7 @@ void PeerConnectionRemoteAudioSource::EnsureSourceIsStopped() { DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); if (is_sink_of_peer_connection_) { - SendLogMessage(base::StringPrintf("EnsureSourceIsStopped([id=%s])", + SendLogMessageRTC(base::StringPrintf("EnsureSourceIsStopped([id=%s])", track_interface_->id().c_str())); track_interface_->RemoveSink(this); is_sink_of_peer_connection_ = false;