Chromium Code Reviews| Index: extensions/browser/api/serial/serial_connection.cc |
| diff --git a/extensions/browser/api/serial/serial_connection.cc b/extensions/browser/api/serial/serial_connection.cc |
| index edf6a0dce077fd92d7a537a3d631cecd4f6a93c5..178bfe7a8d69890ebe598bee4f1d03600541d985 100644 |
| --- a/extensions/browser/api/serial/serial_connection.cc |
| +++ b/extensions/browser/api/serial/serial_connection.cc |
| @@ -169,6 +169,7 @@ SerialConnection::SerialConnection(const std::string& port, |
| content::BrowserThread::GetMessageLoopProxyForThread( |
| content::BrowserThread::UI))) { |
| DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| + io_handler_->set_port(port); |
|
Reilly Grant (use Gerrit)
2015/11/11 20:43:59
Why not set port_ in Open?
juncai
2015/11/12 05:27:08
Done.
|
| } |
| SerialConnection::~SerialConnection() { |