fix surface test for gpu and codecs

BUG=skia:

Review URL: https://codereview.chromium.org/789173004
1 file changed