Fixed to force close at the end of the application being debugged.
authorbunam.jeon <bunam.jeon@samsung.com>
Thu, 4 Jul 2013 13:39:01 +0000 (22:39 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 5 Jul 2013 08:22:44 +0000 (08:22 +0000)
[Title] Fixed to force close at the end of the application being debugged.
[Issue#] N_SE-44586
[Problem] Force close at the end of the application being debugged.
[Cause] It had access to a variable that has disappeared.
[Solution] Add exception handling variables disappeared.

Change-Id: I8857b32e62120c323af0c59c807d21ace5ff9f12

Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp

index a9a42e9..015d5ea 100755 (executable)
@@ -1847,6 +1847,9 @@ void WebPage::useSettingsFont()
 
 void WebPage::didChangeContents(const IntRect& rect)
 {
+    if (!m_page)
+        return;
+
     Frame* frame = m_page->focusController()->focusedOrMainFrame();
     if (!frame || !frame->view() || frame->view()->needsLayout())
         return;