Fix crash when using external message pump (issue #2571)

This commit is contained in:
Alexander Guettler 2019-01-11 14:40:47 +00:00 committed by Marshall Greenblatt
parent ae317a5bfd
commit 5671165308
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace {
// MessagePump implementation that delegates to OnScheduleMessagePumpWork() for // MessagePump implementation that delegates to OnScheduleMessagePumpWork() for
// scheduling. // scheduling.
class MessagePumpExternal : public base::MessagePump { class MessagePumpExternal : public base::MessagePumpForUI {
public: public:
MessagePumpExternal(float max_time_slice, MessagePumpExternal(float max_time_slice,
CefRefPtr<CefBrowserProcessHandler> handler) CefRefPtr<CefBrowserProcessHandler> handler)