Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1163)

Unified Diff: chrome/browser/debugger/inspectable_tab_proxy.cc

Issue 6609008: Change other usages of .size() to .empty() when applicable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter nits Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/debugger/extension_ports_remote_service.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/debugger/extension_ports_remote_service.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698