Fix DCHECK during Find (issue #2050)

This commit is contained in:
Marshall Greenblatt
2017-05-05 15:34:20 -04:00
parent 86c329e790
commit e5ad5a8fcd
4 changed files with 29 additions and 12 deletions

View File

@ -637,6 +637,9 @@ class CefBrowserHostImpl : public CefBrowserHost,
// Observers that want to be notified of changes to this object.
base::ObserverList<Observer> observers_;
// Used to provide unique incremental IDs for each find request.
int find_request_id_counter_ = 0;
IMPLEMENT_REFCOUNTING(CefBrowserHostImpl);
DISALLOW_COPY_AND_ASSIGN(CefBrowserHostImpl);
};