Title: [210118] trunk/Source/WebKit2
- Revision
- 210118
- Author
- [email protected]
- Date
- 2016-12-22 15:18:12 -0800 (Thu, 22 Dec 2016)
Log Message
Null deref under WebPageProxy::applicationDidFinishSnapshottingAfterEnteringBackground
https://bugs.webkit.org/show_bug.cgi?id=166433
<rdar://problem/29732407>
Reviewed by Daniel Bates.
* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::applicationDidFinishSnapshottingAfterEnteringBackground):
m_drawingArea can be null if the process is not valid.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (210117 => 210118)
--- trunk/Source/WebKit2/ChangeLog 2016-12-22 22:55:31 UTC (rev 210117)
+++ trunk/Source/WebKit2/ChangeLog 2016-12-22 23:18:12 UTC (rev 210118)
@@ -1,3 +1,15 @@
+2016-12-22 Tim Horton <[email protected]>
+
+ Null deref under WebPageProxy::applicationDidFinishSnapshottingAfterEnteringBackground
+ https://bugs.webkit.org/show_bug.cgi?id=166433
+ <rdar://problem/29732407>
+
+ Reviewed by Daniel Bates.
+
+ * UIProcess/ios/WebPageProxyIOS.mm:
+ (WebKit::WebPageProxy::applicationDidFinishSnapshottingAfterEnteringBackground):
+ m_drawingArea can be null if the process is not valid.
+
2016-12-22 Andy Estes <[email protected]>
Make WebCore::EditorInsertAction an enum class
Modified: trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm (210117 => 210118)
--- trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm 2016-12-22 22:55:31 UTC (rev 210117)
+++ trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm 2016-12-22 23:18:12 UTC (rev 210118)
@@ -687,7 +687,8 @@
void WebPageProxy::applicationDidFinishSnapshottingAfterEnteringBackground()
{
- m_drawingArea->prepareForAppSuspension();
+ if (m_drawingArea)
+ m_drawingArea->prepareForAppSuspension();
m_process->send(Messages::WebPage::ApplicationDidFinishSnapshottingAfterEnteringBackground(), m_pageID);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes