forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chromecast] Scope node removed from cache if no name node children.
This CL add in some extra condition in updating scopes_route_cache_. A node should not be considered as an scoped routes node if it does not has any children that is a named routes node. This will solved the problem of not triggering edge transitions when scoped routes node is unchanged but its children come and go. Test: build cast_shell and unittest Bug: b/171499941, b/168548001 Change-Id: I3b48179762871d8d9faa5df9afff0a2ac3c935c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495913 Commit-Queue: Yuanyao Zhong <yyzhong@google.com> Reviewed-by: Randy Rossi <rmrossi@chromium.org> Cr-Commit-Position: refs/heads/master@{#821224}
- Loading branch information
Showing
2 changed files
with
52 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters