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

Unified Diff: chrome_frame/chrome_frame_automation.cc

Issue 6609008: Change other usages of .size() to .empty() when applicable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Up 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
Index: chrome_frame/chrome_frame_automation.cc
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index 9b397d9752522358681f2807b2466f9754eec9f4..15f3b55a4892e17ada476a260239d0e67a83ed82 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -1010,7 +1010,7 @@ void ChromeFrameAutomationClient::SetEnableExtensionAutomation(
// automation, only to set it. Also, we want to avoid resetting extension
// automation that some other automation client has set up. Therefore only
// send the message if we are going to enable automation of some functions.
- if (functions_enabled.size() > 0) {
+ if (!functions_enabled.empty()) {
Peter Kasting 2011/03/03 19:35:53 Nit: No need for {}
tab_->SetEnableExtensionAutomation(functions_enabled);
}
}

Powered by Google App Engine
This is Rietveld 408576698