Chromium Code Reviews
Description[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
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2053743002
Cr-Commit-Position: refs/heads/master@{#399281}
(cherry picked from commit 16bc9a232bd6ef00891eb061687d23f77ee29efd)
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||