| 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..fd44081ba123e89039ac16a0fe7b989eedbb2c4c 100644
|
| --- a/chrome_frame/chrome_frame_automation.cc
|
| +++ b/chrome_frame/chrome_frame_automation.cc
|
| @@ -1010,9 +1010,8 @@ 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())
|
| tab_->SetEnableExtensionAutomation(functions_enabled);
|
| - }
|
| }
|
|
|
| // Invoked in launch background thread.
|
|
|