Index: chrome/browser/debugger/devtools_remote_listen_socket.cc |
diff --git a/chrome/browser/debugger/devtools_remote_listen_socket.cc b/chrome/browser/debugger/devtools_remote_listen_socket.cc |
index 6e2a2ae9cfc3c655712e3f2d0f3317d889bf838c..19234e55b7f60d3a3cbc2376664f59592cc990d5 100644 |
--- a/chrome/browser/debugger/devtools_remote_listen_socket.cc |
+++ b/chrome/browser/debugger/devtools_remote_listen_socket.cc |
@@ -164,7 +164,7 @@ void DevToolsRemoteListenSocket::DispatchField() { |
} |
break; |
case HEADERS: { |
- if (protocol_field_.size() > 0) { // not end-of-headers |
+ if (!protocol_field_.empty()) { // not end-of-headers |
std::string::size_type colon_pos = protocol_field_.find_first_of(":"); |
if (colon_pos == std::string::npos) { |
// TODO(apavlov): handle the error (malformed header) |