From d8ce4fdf99a5791512a1f77edf1817bcebe06407 Mon Sep 17 00:00:00 2001 From: Jihye Kang Date: Fri, 5 Apr 2013 02:11:27 +0900 Subject: [PATCH] [WK2] Fix freezing issue on MediaCapture when app_svc error occurs [Title] Fix freezing issue on MediaCapture when app_svc error occurs [Issue#] N/A [Problem] Once error occurs on app svc, freeze occurs [Cause] Did not reply when app_svc error occurs [Solution] Catch error from app_svc Change-Id: I1703bd553c50131b10f379853c0b4c15f9a0ee3d --- Source/WebKit2/UIProcess/WebUIClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/WebKit2/UIProcess/WebUIClient.cpp b/Source/WebKit2/UIProcess/WebUIClient.cpp index 8bd9a8a..eb2fde7 100644 --- a/Source/WebKit2/UIProcess/WebUIClient.cpp +++ b/Source/WebKit2/UIProcess/WebUIClient.cpp @@ -379,8 +379,12 @@ bool WebUIClient::runOpenPanel(WebPageProxy* page, WebFrameProxy* frame, WebOpen if (!m_client.runOpenPanel) return false; +#if OS(TIZEN) + return m_client.runOpenPanel(toAPI(page), toAPI(frame), toAPI(parameters), toAPI(listener), m_client.clientInfo); +#else m_client.runOpenPanel(toAPI(page), toAPI(frame), toAPI(parameters), toAPI(listener), m_client.clientInfo); return true; +#endif } bool WebUIClient::decidePolicyForGeolocationPermissionRequest(WebPageProxy* page, WebFrameProxy* frame, WebSecurityOrigin* origin, GeolocationPermissionRequestProxy* permissionRequest) -- 2.7.4