Index: content/common/gpu/media/dxva_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
index 84b00ee3c2f4adb10fa56a58f50b02c701006644..0609b51a814bb3c9108fd63baf9b4b1b9b6b6b4c 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
@@ -258,14 +258,14 @@ HRESULT CreateCOMObjectFromDll(HMODULE dll, const CLSID& clsid, const IID& iid, |
GetClassObject get_class_object = reinterpret_cast<GetClassObject>( |
GetProcAddress(dll, "DllGetClassObject")); |
RETURN_ON_FAILURE( |
- get_class_object, "Failed to get DllGetClassObject pointer", false); |
+ get_class_object, "Failed to get DllGetClassObject pointer", E_FAIL); |
base::win::ScopedComPtr<IClassFactory> factory; |
HRESULT hr = get_class_object( |
clsid, |
__uuidof(IClassFactory), |
factory.ReceiveVoid()); |
- RETURN_ON_HR_FAILURE(hr, "DllGetClassObject failed", false); |
+ RETURN_ON_HR_FAILURE(hr, "DllGetClassObject failed", hr); |
hr = factory->CreateInstance(NULL, iid, object); |
return hr; |