summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/serial/serial_connection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/serial/serial_connection.cc')
-rw-r--r--chrome/browser/extensions/api/serial/serial_connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/serial/serial_connection.cc b/chrome/browser/extensions/api/serial/serial_connection.cc
index 8ff045e..3671901 100644
--- a/chrome/browser/extensions/api/serial/serial_connection.cc
+++ b/chrome/browser/extensions/api/serial/serial_connection.cc
@@ -164,7 +164,7 @@ void SerialConnection::StartOpen() {
// 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(IsStringASCII(port_));
+ DCHECK(base::IsStringASCII(port_));
base::FilePath path(
base::FilePath::FromUTF8Unsafe(MaybeFixUpPortName(port_)));
int flags = base::File::FLAG_OPEN | base::File::FLAG_READ |