refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633)
This commit is contained in:
parent
2a2a1a834c
commit
65a980c673
231 changed files with 918 additions and 576 deletions
|
@ -5,7 +5,6 @@
|
|||
#ifndef SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
|
||||
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
|
||||
|
||||
#include "base/macros.h"
|
||||
#include "extensions/browser/api/system_display/display_info_provider.h"
|
||||
|
||||
namespace extensions {
|
||||
|
@ -14,8 +13,10 @@ class ElectronDisplayInfoProvider : public DisplayInfoProvider {
|
|||
public:
|
||||
ElectronDisplayInfoProvider();
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ElectronDisplayInfoProvider);
|
||||
// disable copy
|
||||
ElectronDisplayInfoProvider(const ElectronDisplayInfoProvider&) = delete;
|
||||
ElectronDisplayInfoProvider& operator=(const ElectronDisplayInfoProvider&) =
|
||||
delete;
|
||||
};
|
||||
|
||||
} // namespace extensions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue