Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Media Router WebUI] Prevent error when route becomes null
Once the route-details element is stamped, getSinkForRoute_ is bound to currentRoute_. This becomes null if the route is stopped which causes getSinkForRoute_ to throw an innocuous but noisy error. This change adds a check of the route before dereferencing it. BUG=614144 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2053743002 Cr-Commit-Position: refs/heads/master@{#399281}
- Loading branch information