Fix checking for a NULL pointer after using the pointer.
Fix checking for a NULL pointer after using the pointer.

Change-Id: I0ead14916ec677c97afb53f4c31a903e71fbc70f
Reviewed-on: https://chromium-review.googlesource.com/185862
Reviewed-by: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>
Tested-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>

mrobinson/rust-angle,android-ia/platform_external_chromium_org_third_party_angle,ecoal95/angle,mrobinson/rust-angle,crezefire/angle,mikolalysenko/angle,xin3liang/platform_external_chromium_org_third_party_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,domokit/waterfall,ppy/angle,mrobinson/rust-angle,mlfarrell/angle,mrobinson/rust-angle,larsbergstrom/angle,MIPS/external-chromium_org-third_party-angle,android-ia/platform_external_chromium_org_third_party_angle,nandhanurrevanth/angle,MIPS/external-chromium_org-third_party-angle,mlfarrell/angle,xin3liang/platform_external_chromium_org_third_party_angle,mybios/angle,ghostoy/angle,mikolalysenko/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,mybios/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,ppy/angle,bsergean/angle,MSOpenTech/angle,MIPS/external-chromium_org-third_party-angle,MSOpenTech/angle,ghostoy/angle,csa7mdm/angle,MIPS/external-chromium_org-third_party-angle,nandhanurrevanth/angle,csa7mdm/angle,android-ia/platform_external_chromium_org_third_party_angle,vvuk/angle,larsbergstrom/angle,nandhanurrevanth/angle,jgcaaprom/android_external_chromium_org_third_party_angle,vvuk/angle,mlfarrell/angle,mikolalysenko/angle,ecoal95/angle,larsbergstrom/angle,ghostoy/angle,vvuk/angle,xin3liang/platform_external_chromium_org_third_party_angle,mrobinson/rust-angle,ppy/angle,crezefire/angle,mlfarrell/angle,bsergean/angle,ppy/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,larsbergstrom/angle,crezefire/angle,mikolalysenko/angle,nandhanurrevanth/angle,MSOpenTech/angle,vvuk/angle,csa7mdm/angle,android-ia/platform_external_chromium_org_third_party_angle,bsergean/angle,jgcaaprom/android_external_chromium_org_third_party_angle,xin3liang/platform_external_chromium_org_third_party_angle,mybios/angle,ghostoy/angle,csa7mdm/angle,jgcaaprom/android_external_chromium_org_third_party_angle,bsergean/angle,domokit/waterfall,MSOpenTech/angle,ecoal95/angle,crezefire/angle,ecoal95/angle,mybios/angle,ecoal95/angle,jgcaaprom/android_external_chromium_org_third_party_angle