From 37a29e36b3d716f4e426e230e5c950574bc6edd4 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 11 Oct 2016 13:43:11 -0400 Subject: [PATCH] Mac: Fix compile error due to issue #2009 changes --- libcef/browser/web_plugin_impl.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libcef/browser/web_plugin_impl.cc b/libcef/browser/web_plugin_impl.cc index 1698aeb1a..fcd782bb2 100644 --- a/libcef/browser/web_plugin_impl.cc +++ b/libcef/browser/web_plugin_impl.cc @@ -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, CefRefPtr callback) { LOG(ERROR) << error_message; @@ -41,6 +44,8 @@ void DeliverWidevineCdmError(const std::string& error_message, } } +#endif + } // namespace