| Index: chrome/browser/component_updater/swiftshader_component_installer.cc
|
| diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| index 9b427486467e02081ee55a36555a19fc0a9735c1..9a24994b7bdf593203f0d25a0eb5cefa46a9d4b9 100644
|
| --- a/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| +++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| @@ -27,7 +27,7 @@ using content::GpuDataManager;
|
| namespace {
|
|
|
| // CRX hash. The extension id is: nhfgdggnnopgbfdlpeoalgcjdgfafocg.
|
| -const uint8 sha2_hash[] = {0xd7, 0x56, 0x36, 0x6d, 0xde, 0xf6, 0x15, 0x3b,
|
| +const uint8 kSha2Hash[] = {0xd7, 0x56, 0x36, 0x6d, 0xde, 0xf6, 0x15, 0x3b,
|
| 0xf4, 0xe0, 0xb6, 0x29, 0x36, 0x50, 0x5e, 0x26,
|
| 0xbd, 0x77, 0x8b, 0x8e, 0x35, 0xc2, 0x7e, 0x43,
|
| 0x52, 0x47, 0x62, 0xed, 0x12, 0xca, 0xcc, 0x6a};
|
| @@ -155,7 +155,7 @@ void FinishSwiftShaderUpdateRegistration(ComponentUpdateService* cus,
|
| swiftshader.name = "Swift Shader";
|
| swiftshader.installer = new SwiftShaderComponentInstaller(version);
|
| swiftshader.version = version;
|
| - swiftshader.pk_hash.assign(sha2_hash, &sha2_hash[sizeof(sha2_hash)]);
|
| + swiftshader.pk_hash.assign(kSha2Hash, &kSha2Hash[sizeof(kSha2Hash)]);
|
| if (cus->RegisterComponent(swiftshader) != ComponentUpdateService::kOk) {
|
| NOTREACHED() << "SwiftShader component registration fail";
|
| }
|
|
|