Avoid crash due to missing prerenderer support (issue #608).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@657 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-05-30 20:35:41 +00:00
parent 5c2e5eab8d
commit dbe75b1326
7 changed files with 32 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ WebViewHost* WebViewHost::Create(GtkWidget* parent_view,
#endif
host->webview()->setDevToolsAgentClient(dev_tools_client);
host->webview()->setPermissionClient(delegate);
host->webview()->setPrerendererClient(delegate);
prefs.Apply(host->webview());
host->webview()->initializeMainFrame(delegate);
host->webwidget_->layout();