chore: cleanup usages of const char* (#29906)
This commit is contained in:
parent
f6531166ae
commit
95a9ff952c
8 changed files with 18 additions and 19 deletions
|
@ -17,15 +17,15 @@ namespace electron {
|
|||
// This class implements the enumerator for reading all the attributes in
|
||||
// GPUInfo into a dictionary.
|
||||
class GPUInfoEnumerator final : public gpu::GPUInfo::Enumerator {
|
||||
const char* kGPUDeviceKey = "gpuDevice";
|
||||
const char* kVideoDecodeAcceleratorSupportedProfileKey =
|
||||
const char* const kGPUDeviceKey = "gpuDevice";
|
||||
const char* const kVideoDecodeAcceleratorSupportedProfileKey =
|
||||
"videoDecodeAcceleratorSupportedProfile";
|
||||
const char* kVideoEncodeAcceleratorSupportedProfileKey =
|
||||
const char* const kVideoEncodeAcceleratorSupportedProfileKey =
|
||||
"videoEncodeAcceleratorSupportedProfile";
|
||||
const char* kImageDecodeAcceleratorSupportedProfileKey =
|
||||
const char* const kImageDecodeAcceleratorSupportedProfileKey =
|
||||
"imageDecodeAcceleratorSupportedProfile";
|
||||
const char* kAuxAttributesKey = "auxAttributes";
|
||||
const char* kOverlayInfo = "overlayInfo";
|
||||
const char* const kAuxAttributesKey = "auxAttributes";
|
||||
const char* const kOverlayInfo = "overlayInfo";
|
||||
|
||||
public:
|
||||
GPUInfoEnumerator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue