| Index: chrome/browser/extensions/api/system_info_cpu/system_info_cpu_api.cc
|
| diff --git a/chrome/browser/extensions/api/system_info_cpu/system_info_cpu_api.cc b/chrome/browser/extensions/api/system_info_cpu/system_info_cpu_api.cc
|
| index 34af82cc010a5e351ac7d249d5135fac18530342..175bcdba2ba74fbb8c7ea0946e738dc0c306b6ba 100644
|
| --- a/chrome/browser/extensions/api/system_info_cpu/system_info_cpu_api.cc
|
| +++ b/chrome/browser/extensions/api/system_info_cpu/system_info_cpu_api.cc
|
| @@ -24,10 +24,9 @@ bool SystemInfoCpuGetFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -void SystemInfoCpuGetFunction::OnGetCpuInfoCompleted(const CpuInfo& info,
|
| - bool success) {
|
| +void SystemInfoCpuGetFunction::OnGetCpuInfoCompleted(bool success) {
|
| if (success)
|
| - SetResult(info.ToValue().release());
|
| + SetResult(CpuInfoProvider::Get()->cpu_info().ToValue().release());
|
| else
|
| SetError("Error occurred when querying cpu information.");
|
| SendResponse(success);
|
|
|