SurfaceManager and SurfaceFactory set up is very complex due to the requirement that there may be more than one SurfaceFactoryClient per client ID, and a child compositor may be ready before a parent. We should try to clean up code using surfaces to avoid all this complexity in cc.
Comment 1 by bugdroid1@chromium.org
, Jul 20 2016