| Index: content/browser/renderer_host/text_input_client_mac.mm
|
| diff --git a/content/browser/renderer_host/text_input_client_mac.mm b/content/browser/renderer_host/text_input_client_mac.mm
|
| index 4a09837a75256ab9936dc2e11df91eed71e066b1..3f0b9bf0fba674cfbba16744a9bb5736e9998cf7 100644
|
| --- a/content/browser/renderer_host/text_input_client_mac.mm
|
| +++ b/content/browser/renderer_host/text_input_client_mac.mm
|
| @@ -37,6 +37,10 @@ void TextInputClientMac::GetStringAtPoint(
|
| RenderWidgetHost* rwh,
|
| gfx::Point point,
|
| void (^reply_handler)(NSAttributedString*, NSPoint)) {
|
| + // TODO(ekaramad): In principle, we are using the same handler regardless of
|
| + // the |rwh| which requested this. We should track the callbacks for each
|
| + // |rwh| individually so that one slow RWH will not end up clearing the
|
| + // callback for another (https://crbug.com/643233).
|
| DCHECK(replyForPointHandler_.get() == nil);
|
| replyForPointHandler_.reset(reply_handler, base::scoped_policy::RETAIN);
|
| RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh);
|
|
|