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: John Kleinschmidt <kleinschmidtorama@gmail.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
08593fd2bd
commit
a0a44f07dd
2 changed files with 4 additions and 6 deletions
|
@ -94,9 +94,8 @@ class ElectronHidDelegate : public content::HidDelegate,
|
||||||
namespace base {
|
namespace base {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct base::ScopedObservationTraits<
|
struct ScopedObservationTraits<electron::HidChooserContext,
|
||||||
electron::HidChooserContext,
|
electron::HidChooserContext::DeviceObserver> {
|
||||||
electron::HidChooserContext::DeviceObserver> {
|
|
||||||
static void AddObserver(
|
static void AddObserver(
|
||||||
electron::HidChooserContext* source,
|
electron::HidChooserContext* source,
|
||||||
electron::HidChooserContext::DeviceObserver* observer) {
|
electron::HidChooserContext::DeviceObserver* observer) {
|
||||||
|
|
|
@ -83,9 +83,8 @@ class ElectronSerialDelegate : public content::SerialDelegate,
|
||||||
namespace base {
|
namespace base {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct base::ScopedObservationTraits<
|
struct ScopedObservationTraits<electron::SerialChooserContext,
|
||||||
electron::SerialChooserContext,
|
electron::SerialChooserContext::PortObserver> {
|
||||||
electron::SerialChooserContext::PortObserver> {
|
|
||||||
static void AddObserver(
|
static void AddObserver(
|
||||||
electron::SerialChooserContext* source,
|
electron::SerialChooserContext* source,
|
||||||
electron::SerialChooserContext::PortObserver* observer) {
|
electron::SerialChooserContext::PortObserver* observer) {
|
||||||
|
|
Loading…
Reference in a new issue