From: keonho07.kim Date: Tue, 16 Apr 2013 08:52:00 +0000 (+0900) Subject: MediaCapture for camera application is delevering wrong window handle to appcontrol. X-Git-Tag: 2.1_release~68^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8f27fc6f529c2ee05828b14d33947f7dfc44f5f;p=platform%2Fframework%2Fweb%2Fwebkit-efl.git MediaCapture for camera application is delevering wrong window handle to appcontrol. [Title] Do not makes a delevering with wrong window handle for mediacapture API. [Problem] https://tizendev.org/bugs/browse/VPSS-827 [Cause] MediaCapture for camera application is delevering wrong window handle to appcontrol. [Solution] Revert commit for only webaudio. Change-Id: I7340507f0aab3539fdb9d52876b751a76c5342c3 --- diff --git a/Source/WebKit2/UIProcess/API/efl/tizen/OpenPanel.cpp b/Source/WebKit2/UIProcess/API/efl/tizen/OpenPanel.cpp old mode 100644 new mode 100755 index 79dc303..b4d5f8a --- a/Source/WebKit2/UIProcess/API/efl/tizen/OpenPanel.cpp +++ b/Source/WebKit2/UIProcess/API/efl/tizen/OpenPanel.cpp @@ -151,7 +151,6 @@ bool OpenPanel::_capturePicture() if (service_create(&svcHandle) < 0 || !svcHandle) return false; - service_set_window(svcHandle, ecore_x_window_root_first_get()); service_set_operation(svcHandle, SERVICE_OPERATION_CREATE_CONTENT); service_set_mime(svcHandle, "image/jpg"); service_add_extra_data(svcHandle, "CALLER", "webkit"); @@ -174,7 +173,6 @@ bool OpenPanel::_recordVideo() if (service_create(&svcHandle) < 0 || !svcHandle) return false; - service_set_window(svcHandle, ecore_x_window_root_first_get()); service_set_operation(svcHandle, SERVICE_OPERATION_CREATE_CONTENT); service_set_mime(svcHandle, "video/3gp"); service_add_extra_data(svcHandle, "CALLER", "webkit");