Add return functions for preventing crash
Previous codes do not return directly even if plugin_instance and load_manager are null. It can occur crash whenever accessing each variables. This patch add return codes for avoiding crash if variable is null. BUG=NONE Change-Id: Ia5c59a9473124d6ad1ff76ee909d9396af35e96c Reviewed-on: https://chromium-review.googlesource.com/586488Reviewed-by:Raymes Khoury <raymes@chromium.org> Reviewed-by:
Bill Budge <bbudge@chromium.org> Commit-Queue: Bill Budge <bbudge@chromium.org> Cr-Commit-Position: refs/heads/master@{#491067}
Showing
Please register or sign in to comment