fixing assertion for testSurfaceHelper
fixing assertion for testSurfaceHelper
Merge pull request #907 from jlevallois/FixIssue906

Fix issue906