Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing a crash due to calling [RWHVCocoa attributedSubstringForPropos…
…edRange] when there is no focused <input>. RWHVCocoa::attributedSubstringForProposedRange maybe called when there is no focused <input>. In such cases, renderWidgetHostView_->GetCompositionInfo() returns nullptr. BUG=698672 Review-Url: https://codereview.chromium.org/2732143002 Cr-Commit-Position: refs/heads/master@{#455028} (cherry picked from commit 8c80b23) Review-Url: https://codereview.chromium.org/2740743003 . Cr-Commit-Position: refs/branch-heads/3029@{#65} Cr-Branched-From: 939b32e-refs/heads/master@{#454471}
- Loading branch information