[WK2] Fix freezing issue on MediaCapture when app_svc error occurs
authorJihye Kang <jye.kang@samsung.com>
Thu, 4 Apr 2013 17:11:27 +0000 (02:11 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 5 Apr 2013 07:09:53 +0000 (16:09 +0900)
[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

index 8bd9a8a..eb2fde7 100644 (file)
@@ -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)