Fix a null object check

BUG=390615
R=thakis@chromium.org

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