diff --git a/cef.gyp b/cef.gyp index 26b5d7df2..85cb6ce21 100644 --- a/cef.gyp +++ b/cef.gyp @@ -142,7 +142,7 @@ 'action': [ 'cp', '-Rf', - '${BUILT_PRODUCTS_DIR}/../../third_party/WebKit/Source/core/Resources/', + '${BUILT_PRODUCTS_DIR}/../../third_party/WebKit/public/resources/', '${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/Chromium Embedded Framework.framework/Resources/' ], }, @@ -369,7 +369,7 @@ 'action': [ 'cp', '-Rf', - '${BUILT_PRODUCTS_DIR}/../../third_party/WebKit/Source/core/Resources/', + '${BUILT_PRODUCTS_DIR}/../../third_party/WebKit/public/resources/', '${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/Chromium Embedded Framework.framework/Resources/' ], }, diff --git a/libcef/browser/browser_host_impl.cc b/libcef/browser/browser_host_impl.cc index 304b247db..b053aadb8 100644 --- a/libcef/browser/browser_host_impl.cc +++ b/libcef/browser/browser_host_impl.cc @@ -644,7 +644,7 @@ void CefBrowserHostImpl::WasHidden(bool hidden) { if (!CEF_CURRENTLY_ON_UIT()) { CEF_POST_TASK(CEF_UIT, - base::Bind(&CefBrowserHostImpl::WasHidden, this, hidden)); + base::Bind(&CefBrowserHost::WasHidden, this, hidden)); return; } diff --git a/libcef/browser/browser_host_impl.h b/libcef/browser/browser_host_impl.h index dd5be9832..0c559e3e8 100644 --- a/libcef/browser/browser_host_impl.h +++ b/libcef/browser/browser_host_impl.h @@ -332,6 +332,7 @@ class CefBrowserHostImpl : public CefBrowserHost, // content::WebContentsObserver methods. using content::WebContentsObserver::BeforeUnloadFired; + using content::WebContentsObserver::WasHidden; virtual void RenderViewCreated( content::RenderViewHost* render_view_host) OVERRIDE; virtual void RenderViewDeleted(