summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/devtools_http_handler_impl.cc
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 /content/browser/devtools/devtools_http_handler_impl.cc
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 'content/browser/devtools/devtools_http_handler_impl.cc')
-rw-r--r--content/browser/devtools/devtools_http_handler_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/devtools/devtools_http_handler_impl.cc b/content/browser/devtools/devtools_http_handler_impl.cc
index 5bd8887..4313668 100644
--- a/content/browser/devtools/devtools_http_handler_impl.cc
+++ b/content/browser/devtools/devtools_http_handler_impl.cc
@@ -576,7 +576,7 @@ void ServerWrapper::OnHttpRequest(int connection_id,
return;
}
- if (info.path == "" || info.path == "/") {
+ if (info.path.empty() || info.path == "/") {
// Discovery page request.
BrowserThread::PostTask(
BrowserThread::UI,