Chromium Code Reviews| Index: content/gpu/gpu_main.cc |
| =================================================================== |
| --- content/gpu/gpu_main.cc (revision 193276) |
| +++ content/gpu/gpu_main.cc (working copy) |
| @@ -345,6 +345,11 @@ |
| #if defined(OS_WIN) |
| { |
| + TRACE_EVENT0("gpu", "Initialize COM"); |
| + base::win::ScopedCOMInitializer com_initializer; |
| + } |
| + |
| + { |
| TRACE_EVENT0("gpu", "Preload setupapi.dll"); |
| // Preload this DLL because the sandbox prevents it from loading. |
| LoadLibrary(L"setupapi.dll"); |