| Index: extensions/browser/api/system_cpu/system_cpu_api.cc
|
| diff --git a/extensions/browser/api/system_cpu/system_cpu_api.cc b/extensions/browser/api/system_cpu/system_cpu_api.cc
|
| index 5cfe69b0ff4cd6b99bd37db9b22fd0e7e49eef5b..2e252388a19c97cb0cb9259020f098c554f87d0d 100644
|
| --- a/extensions/browser/api/system_cpu/system_cpu_api.cc
|
| +++ b/extensions/browser/api/system_cpu/system_cpu_api.cc
|
| @@ -25,7 +25,7 @@ bool SystemCpuGetInfoFunction::RunAsync() {
|
|
|
| void SystemCpuGetInfoFunction::OnGetCpuInfoCompleted(bool success) {
|
| if (success)
|
| - SetResult(CpuInfoProvider::Get()->cpu_info().ToValue().release());
|
| + SetResult(CpuInfoProvider::Get()->cpu_info().ToValue());
|
| else
|
| SetError("Error occurred when querying cpu information.");
|
| SendResponse(success);
|
|
|