DescriptionFixing a crash due to calling [RWHVCocoa attributedSubstringForProposedRange] 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}
Committed: https://chromium.googlesource.com/chromium/src/+/8c80b233da12ca81bece40f77b990a84a13c75a2
Patch Set 1 #
Total comments: 3
Patch Set 2 : Added a comment #Messages
Total messages: 10 (5 generated)
|