| Index: trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc (revision 257532)
|
| +++ trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc (working copy)
|
| @@ -168,7 +168,7 @@
|
| // It's the responsibility of the API wrapper around SerialConnection to
|
| // validate the supplied path against the set of valid port names, and
|
| // it is a reasonable assumption that serial port names are ASCII.
|
| - DCHECK(base::IsStringASCII(port_));
|
| + DCHECK(IsStringASCII(port_));
|
| base::FilePath path(
|
| base::FilePath::FromUTF8Unsafe(MaybeFixUpPortName(port_)));
|
| int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ |
|
|
|