Adding set the closing window in back button process
authorHoseon LEE <hoseon46.lee@samsung.com>
Sat, 26 Jan 2013 07:07:00 +0000 (16:07 +0900)
committerGerrit Code Review <gerrit2@kim11>
Sun, 27 Jan 2013 05:51:40 +0000 (14:51 +0900)
[Issue#] TDIS-3045
[Problem] Crash when back-button clicked
[Cause] In windowClose function, m_closedEwkView is needed. But it is not set.
[Solution] Adding set the closing window in back button process.
[Verification] N/A
[SCMRequest] N/A

Change-Id: I9a7ba07eb4ba52f24d87eb7e3512562b63867b51

src/view/webkit/view_logic.cpp

index 49d07e8..6ac9da2 100755 (executable)
@@ -389,6 +389,7 @@ void ViewLogic::backward()
         } else {
             // Back to previous webview
             LogInfo("Widget move to previous webview");
+            m_closedEwkView = m_currentEwkView;
             ecore_idler_add(windowCloseIdlerCallback, this);
         }
     }