summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-01-09 22:04:33 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-10 06:06:18 +0000
commit3d0a879593821df0d5c72424f0fb60aa8b266607 (patch)
tree54c80a5261b3452d1c87f8c7a4fae33aacff2552 /native_client_sdk/src
parent2eb44014970b8aa0333940a9f88ebd83edb497ac (diff)
downloadchromium_src-3d0a879593821df0d5c72424f0fb60aa8b266607.zip
chromium_src-3d0a879593821df0d5c72424f0fb60aa8b266607.tar.gz
chromium_src-3d0a879593821df0d5c72424f0fb60aa8b266607.tar.bz2
Cleanup: Call std::string::empty instead of comparing against "".
Review URL: https://codereview.chromium.org/811583003 Cr-Commit-Position: refs/heads/master@{#310968}
Diffstat (limited to 'native_client_sdk/src')
-rw-r--r--native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
index 055a88a..f744750 100644
--- a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
+++ b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc
@@ -256,7 +256,7 @@ Error Html5Fs::Init(const FsInitArgs& args) {
filesystem_type = PP_FILESYSTEMTYPE_LOCALPERSISTENT;
} else if (iter->second == "TEMPORARY") {
filesystem_type = PP_FILESYSTEMTYPE_LOCALTEMPORARY;
- } else if (iter->second == "") {
+ } else if (iter->second.empty()) {
filesystem_type = PP_FILESYSTEMTYPE_LOCALPERSISTENT;
} else {
LOG_ERROR("Unknown filesystem type: '%s'", iter->second.c_str());