Index: chrome/browser/debugger/inspectable_tab_proxy.cc |
diff --git a/chrome/browser/debugger/inspectable_tab_proxy.cc b/chrome/browser/debugger/inspectable_tab_proxy.cc |
index 499b39a6ff090582ecd471df697f4ca3f34798f3..0f31b0a904eb1d9c13457722768024f14ade694e 100644 |
--- a/chrome/browser/debugger/inspectable_tab_proxy.cc |
+++ b/chrome/browser/debugger/inspectable_tab_proxy.cc |
@@ -105,7 +105,7 @@ DevToolsClientHost* InspectableTabProxy::NewClientHost( |
} |
void InspectableTabProxy::OnRemoteDebuggerDetached() { |
- while (id_to_client_host_map_.size() > 0) { |
+ while (!id_to_client_host_map_.empty()) { |
IdToClientHostMap::iterator it = id_to_client_host_map_.begin(); |
it->second->debugger_remote_service()->DetachFromTab( |
base::IntToString(it->first), NULL); |