Added check to avoid accessing possible NULL renderer pointer.
Added check to avoid accessing possible NULL renderer pointer.

Change-Id: I38524e7d3c74656902151e004d3aa47555531fd5
Reviewed-on: https://chromium-review.googlesource.com/211203
Reviewed-by: Shannon Woods <0f3694938fd5703bd548127ee497e4d604509bef@chromium.org>
Reviewed-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>
Tested-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>

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