OSDN Git Service

SurfaceFlinger: fix a couple NULL fence checks
authorJamie Gennis <jgennis@google.com>
Mon, 25 Feb 2013 21:37:54 +0000 (13:37 -0800)
committerJamie Gennis <jgennis@google.com>
Mon, 25 Feb 2013 23:34:30 +0000 (15:34 -0800)
commit789a6c3f1dfe22a1ffea7f39b2098d7842cd1f30
tree8c40341fa8fad02f9d204ddaefb610ce6e1b76cc
parentf5c7cb316cc8c8e2d6ae93a659ac771420cbfa2b
SurfaceFlinger: fix a couple NULL fence checks

This change replaces checks for a NULL fence pointer with calls to
Fence::isValid.  There should no longer be NULL fences.

Change-Id: If17c9c132fcb1801531bf7588f8ba53476c57dad
services/surfaceflinger/Layer.cpp