Fix unit test that failed due to incorrect refactor.

Test: hwui unit tests
Change-Id: I88b962718086ff1ca3df1999b2040fb1007b6f33
1 file changed