summaryrefslogtreecommitdiffstats
path: root/lib/web_contents_view_qt.cpp
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2013-07-04 16:25:59 +0200
committerPierre Rossi <pierre.rossi@gmail.com>2013-07-04 18:37:59 +0200
commit0875045c9714fbac897a8b9f277bb1b1ccfef962 (patch)
tree7a5f5c125f7250b43a2b83d5664317caf7a3a1d5 /lib/web_contents_view_qt.cpp
parent8d46c7e1d447c4d2fbc9e57ff53456ddf72ee4e3 (diff)
Fix linking of QtWebEngineProcess
Since the global factory function content::CreateWebContentsView is also needed by the web process and we exclude all implementations we have to place the definition of it in the shared static lib. However, to prevent the need for moving platform layer classes back to the shared static lib we have to revert back to use ContentBrowserClient::OverrideCreateWebContentsView in the API layer to create our platform WebContentsViewQt and make the global factory function definition empty. Change-Id: I9d46524b22458b26a043c80df02b4a5fa7d91a55 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'lib/web_contents_view_qt.cpp')
-rw-r--r--lib/web_contents_view_qt.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/web_contents_view_qt.cpp b/lib/web_contents_view_qt.cpp
index 2fc791af4..1ac83ca47 100644
--- a/lib/web_contents_view_qt.cpp
+++ b/lib/web_contents_view_qt.cpp
@@ -47,17 +47,6 @@
#include "content/browser/renderer_host/render_view_host_impl.h"
-namespace content {
-WebContentsViewPort* CreateWebContentsView(WebContentsImpl* web_contents,
- WebContentsViewDelegate* delegate,
- RenderViewHostDelegateView** render_view_host_delegate_view)
-{
- WebContentsViewQt* rv = new WebContentsViewQt(web_contents, delegate);
- *render_view_host_delegate_view = rv;
- return rv;
-}
-}
-
WebContentsViewQtClient::WebContentsViewQtClient()
// This has to be the first thing we do.
: context(WebEngineContext::current())