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); |
} |
} |