[Title] Fixed problem that BS occurs when webview is deleted.
[Issue#] N/A
[Problem] BS occurs when webview is deleted.
[Cause] Invalid read occurs when webview is deleted.
[Solution] Unnecessary code delete.
Change-Id: I92335c44bf4ec8e12f4ebc0bbdc2a0100e64f069
PageClientImpl::~PageClientImpl()
{
+#if !OS(TIZEN)
+ // FIXME: According to the open source, ~WebPageProxy() must move here.
if (m_viewImpl && m_viewImpl->page())
m_viewImpl->page()->close();
+#endif
}
#if OS(TIZEN)
PageClientEvasGL::~PageClientEvasGL()
{
+#if !OS(TIZEN)
+ // FIXME: It should be compared with open source.
if (m_viewImpl && m_viewImpl->page())
m_viewImpl->page()->close();
+#endif
}
void PageClientEvasGL::updateViewportSize(const WebCore::IntSize& viewportSize)