| Index: content/gpu/gpu_dx_diagnostics_win.cc
|
| ===================================================================
|
| --- content/gpu/gpu_dx_diagnostics_win.cc (revision 118516)
|
| +++ content/gpu/gpu_dx_diagnostics_win.cc (working copy)
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| +#include "base/win/scoped_com_initializer.h"
|
| #include "content/gpu/gpu_info_collector.h"
|
|
|
| // Functions in this file depend on functions exported from dxguid.dll.
|
| @@ -97,6 +98,7 @@
|
| bool GetDxDiagnostics(content::DxDiagNode* output) {
|
| HRESULT hr;
|
| bool success = false;
|
| + base::win::ScopedCOMInitializer com_initializer;
|
|
|
| IDxDiagProvider* provider = NULL;
|
| hr = CoCreateInstance(CLSID_DxDiagProvider,
|
|
|