Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: content/gpu/gpu_dx_diagnostics_win.cc

Issue 9212054: Fix DirectX diagnostic collection for about:gpu page. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698