From: bunam.jeon Date: Thu, 4 Jul 2013 13:39:01 +0000 (+0900) Subject: Fixed to force close at the end of the application being debugged. X-Git-Tag: submit/tizen_2.2/20130714.131554~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20ee8a1438d4ad356127a820729b79c9a2c16356;p=framework%2Fweb%2Fwebkit-efl.git Fixed to force close at the end of the application being debugged. [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 --- diff --git a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp index a9a42e9..015d5ea 100755 --- a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp +++ b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp @@ -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;