[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
void WebPage::didChangeContents(const IntRect& rect)
{
+ if (!m_page)
+ return;
+
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame || !frame->view() || frame->view()->needsLayout())
return;