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

Unified Diff: content/browser/appcache/appcache_internals_ui.cc

Issue 2119283002: Use container::back() and container::pop_back() for content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: content/browser/appcache/appcache_internals_ui.cc
diff --git a/content/browser/appcache/appcache_internals_ui.cc b/content/browser/appcache/appcache_internals_ui.cc
index 0c83ce031fc8bc501af8a110584f021b6f234849..18eb9fcffe9e9ac1fde91da7b9069db0298a4aad 100644
--- a/content/browser/appcache/appcache_internals_ui.cc
+++ b/content/browser/appcache/appcache_internals_ui.cc
@@ -265,7 +265,7 @@ void AppCacheInternalsUI::Proxy::RequestFileDetails(
}
void AppCacheInternalsUI::Proxy::HandleFileDetailsRequest() {
- if (preparing_response_ || !response_enquiries_.size() || !appcache_service_)
+ if (preparing_response_ || response_enquiries_.empty() || !appcache_service_)
return;
preparing_response_ = true;
appcache_service_->storage()->LoadResponseInfo(

Powered by Google App Engine
This is Rietveld 408576698