One more ASAN fix.

Don't fail the GL validation check if the GL context fails to create.

TBR=robertphillips@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/1096113003
This commit is contained in:
senorblanco 2015-04-21 09:43:08 -07:00 committed by Commit bot
parent 64c99cc90e
commit 409fd66a5a

View File

@ -28,7 +28,6 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, factory) {
continue;
}
REPORTER_ASSERT(reporter, glCtx);
if (glCtx) {
const GrGLInterface* interface = glCtx->gl();
REPORTER_ASSERT(reporter, interface->validate());