Add back the null check in TextureCacheCV::textureFromImage()
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Mar 2017 17:48:51 +0000 (17:48 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Mar 2017 17:48:51 +0000 (17:48 +0000)
commitfbd5b7bccfe36c2b13ec3182da5ffdbe6f35da61
tree69fb51cf9510ff6d1b1ddf56f4bb097bbf73eb33
parenta9b5a82c60ca5e615c2ccc1867ae01cbaa2cf670
Add back the null check in TextureCacheCV::textureFromImage()
https://bugs.webkit.org/show_bug.cgi?id=169931
<rdar://problem/27139820>

Reviewed by Alex Christensen.

No new tests. Just adding back a check that was previously there.

* platform/graphics/cv/TextureCacheCV.mm:
(WebCore::TextureCacheCV::textureFromImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cv/TextureCacheCV.mm