Skip to content
Snippets Groups Projects
Unverified Commit a0a44f07 authored by Bruno Pitrus's avatar Bruno Pitrus Committed by GitHub
Browse files

chore: correct extra qualification causing build error with GCC (#37548)


* chore: correct extra qualification causing build error with GCC

* fixup for lint

* chore: fix lint

---------

Co-authored-by: default avatarJohn Kleinschmidt <kleinschmidtorama@gmail.com>
Co-authored-by: default avatarShelley Vohr <shelley.vohr@gmail.com>
parent 08593fd2
No related merge requests found
......@@ -94,9 +94,8 @@ class ElectronHidDelegate : public content::HidDelegate,
namespace base {
template <>
struct base::ScopedObservationTraits<
electron::HidChooserContext,
electron::HidChooserContext::DeviceObserver> {
struct ScopedObservationTraits<electron::HidChooserContext,
electron::HidChooserContext::DeviceObserver> {
static void AddObserver(
electron::HidChooserContext* source,
electron::HidChooserContext::DeviceObserver* observer) {
......
......@@ -83,9 +83,8 @@ class ElectronSerialDelegate : public content::SerialDelegate,
namespace base {
template <>
struct base::ScopedObservationTraits<
electron::SerialChooserContext,
electron::SerialChooserContext::PortObserver> {
struct ScopedObservationTraits<electron::SerialChooserContext,
electron::SerialChooserContext::PortObserver> {
static void AddObserver(
electron::SerialChooserContext* source,
electron::SerialChooserContext::PortObserver* observer) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment