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

Unified Diff: media/audio/win/core_audio_util_win.cc

Issue 2889263002: Remove Interface ID Template Parameter from ScopedComPtr (Closed)
Patch Set: Created 3 years, 7 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 | « chrome/utility/importer/ie_importer_win.cc ('k') | remoting/host/setup/win/auth_code_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/core_audio_util_win.cc
diff --git a/media/audio/win/core_audio_util_win.cc b/media/audio/win/core_audio_util_win.cc
index 928914f71f08fa15098afb8ffd9858be4071d591..764b7a8f242c5bb9d4a083f1eaa8dd2f28ab17a8 100644
--- a/media/audio/win/core_audio_util_win.cc
+++ b/media/audio/win/core_audio_util_win.cc
@@ -877,7 +877,7 @@ bool CoreAudioUtil::FillRenderEndpointBufferWithSilence(
bool CoreAudioUtil::GetDxDiagDetails(std::string* driver_name,
std::string* driver_version) {
- ScopedComPtr<IDxDiagProvider, &IID_IDxDiagProvider> provider;
+ ScopedComPtr<IDxDiagProvider> provider;
HRESULT hr =
::CoCreateInstance(CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
IID_IDxDiagProvider, &provider);
@@ -892,14 +892,14 @@ bool CoreAudioUtil::GetDxDiagDetails(std::string* driver_name,
if (FAILED(hr))
return false;
- ScopedComPtr<IDxDiagContainer, &IID_IDxDiagContainer> root;
+ ScopedComPtr<IDxDiagContainer> root;
hr = provider->GetRootContainer(root.GetAddressOf());
if (FAILED(hr))
return false;
// Limit to the SoundDevices subtree. The tree in its entirity is
// enormous and only this branch contains useful information.
- ScopedComPtr<IDxDiagContainer, &IID_IDxDiagContainer> sound_devices;
+ ScopedComPtr<IDxDiagContainer> sound_devices;
hr = root->GetChildContainer(L"DxDiag_DirectSound.DxDiag_SoundDevices.0",
sound_devices.GetAddressOf());
if (FAILED(hr))
« no previous file with comments | « chrome/utility/importer/ie_importer_win.cc ('k') | remoting/host/setup/win/auth_code_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698