Fix the build with enable_webrtc=0 after r281588.
CanUseCompositorAPI() and CanUseVideoDecodeAPI() were defined only if WebRTC support was enabled, even though they do not depend on it. Make the ENABLE_WEBRTC ifdef cover only CanUseMediaStreamAPI() instead. BUG=386743 R=teravest@chromium.org, dmichael@chromium.org Review URL: https://codereview.chromium.org/390763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283512 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment