Crash at [WKContentView _applicationWillEnterForeground:] + 28
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jul 2014 20:13:34 +0000 (20:13 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jul 2014 20:13:34 +0000 (20:13 +0000)
commit5a86b06b588b21aad6565ef6af27f12ae0ba7f56
treed108637b6a8dca8a745686105002f27cc64d4e46
parent631c2df251be1ac4cb01bc46ddd4636b74be3b75
Crash at [WKContentView _applicationWillEnterForeground:] + 28
<rdar://problem/17797103>

Reviewed by Sam Weinig.

* UIProcess/ios/WKContentView.mm:
(-[WKContentView _applicationWillEnterForeground:]):
Drawing area can be null; null check it!
It's ok if we don't hide the content in this case, because if the drawing area is null,
it doesn't have any layers in the tree anyway.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/WKContentView.mm