Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
| index 2b0a11d2a17b90d248e7fd40e21649042cd28697..a6803570beb3521971042ad90777b9780bbf1a07 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
| @@ -564,7 +564,8 @@ RenderWidgetHostImpl* RenderWidgetHostViewMac::GetActiveWidget() { |
| const TextInputManager::CompositionRangeInfo* |
| RenderWidgetHostViewMac::GetCompositionRangeInfo() { |
| - return text_input_manager_->GetCompositionRangeInfo(); |
| + return GetTextInputManager() ? text_input_manager_->GetCompositionRangeInfo() |
|
EhsanK
2017/04/10 15:30:39
This is similar to lines 557 and 561 above. I thin
|
| + : nullptr; |
| } |
| const TextInputManager::TextSelection* |