Chromium Code Reviews
DescriptionFix Ctrl-A then Ctrl-X infinite loop in quick_launch.
Before this change, QuickLaunchUI::ContentsChanged() went to an infinite loop
if (!suggestion_rejected_ && new_contents.length() == 0). This is because
base::ReplaceSubstringsAfterOffset() expects a non-empty string to find. If
DCHECK is off, this function goes to an infinite loop, otherwise it crashes.
BUG=666113
Committed: https://crrev.com/f7f3104c87c624b39cb0df461bd45c29bf8387c9
Cr-Commit-Position: refs/heads/master@{#433000}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed feedback. #Messages
Total messages: 15 (8 generated)
|