Fix incorrect usage of the RETURN_ON_FAILURE and RETURN_ON_HR_FAILURE macros in the...
commit842c8f9ecb6fd5faf0bdfd7690d94e7d41188c57
authorananta <ananta@chromium.org>
Fri, 17 Jul 2015 02:41:00 +0000 (16 19:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 02:41:36 +0000 (17 02:41 +0000)
tree3662a67a9846d3aed038ae5407120bc50d195e55
parenta03c23d32d176daf1e95cfffbfa333316e1eb1a6
Fix incorrect usage of the RETURN_ON_FAILURE and RETURN_ON_HR_FAILURE macros in the CreateCOMObjectFromDll function in dxva.

We were returning false on failure which in HRESULT terms is a success code (S_OK).

BUG=511044

Review URL: https://codereview.chromium.org/1243543002

Cr-Commit-Position: refs/heads/master@{#339205}
content/common/gpu/media/dxva_video_decode_accelerator.cc