diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/browser/api/serial/serial_connection.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/browser/api/serial/serial_connection.cc b/extensions/browser/api/serial/serial_connection.cc index 131aa61..f1963e6 100644 --- a/extensions/browser/api/serial/serial_connection.cc +++ b/extensions/browser/api/serial/serial_connection.cc @@ -204,7 +204,9 @@ SerialConnection::SerialConnection(const std::string& port, paused_(false), io_handler_(device::SerialIoHandler::Create( content::BrowserThread::GetMessageLoopProxyForThread( - content::BrowserThread::FILE))) { + content::BrowserThread::FILE), + content::BrowserThread::GetMessageLoopProxyForThread( + content::BrowserThread::UI))) { DCHECK_CURRENTLY_ON(BrowserThread::IO); } |