Mac: Fix compile error due to issue #2009 changes

This commit is contained in:
Marshall Greenblatt 2016-10-11 13:43:11 -04:00
parent 150a22a49c
commit 37a29e36b3
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,9 @@ void PluginsCallbackImpl(
} }
} }
#if !(defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)) || \
defined(OS_LINUX)
void DeliverWidevineCdmError(const std::string& error_message, void DeliverWidevineCdmError(const std::string& error_message,
CefRefPtr<CefRegisterCdmCallback> callback) { CefRefPtr<CefRegisterCdmCallback> callback) {
LOG(ERROR) << error_message; LOG(ERROR) << error_message;
@ -41,6 +44,8 @@ void DeliverWidevineCdmError(const std::string& error_message,
} }
} }
#endif
} // namespace } // namespace