| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/gpu/gpu_performance_stats.h" | 5 #include "content/browser/gpu/gpu_performance_stats.h" |
| 6 | 6 |
| 7 #include <winsatcominterfacei.h> | 7 #include <winsatcominterfacei.h> |
| 8 | 8 |
| 9 static float GetComponentScore(IProvideWinSATAssessmentInfo* subcomponent) { | 9 static float GetComponentScore(IProvideWinSATAssessmentInfo* subcomponent) { |
| 10 float score; | 10 float score; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 if (assessment) | 59 if (assessment) |
| 60 assessment->Release(); | 60 assessment->Release(); |
| 61 if (results) | 61 if (results) |
| 62 results->Release(); | 62 results->Release(); |
| 63 if (subcomponent) | 63 if (subcomponent) |
| 64 subcomponent->Release(); | 64 subcomponent->Release(); |
| 65 CoUninitialize(); | 65 CoUninitialize(); |
| 66 | 66 |
| 67 return stats; | 67 return stats; |
| 68 } | 68 } |
| OLD | NEW |