Chromium Code Reviews| Index: chrome/browser/dom_ui/tips_handler.cc |
| =================================================================== |
| --- chrome/browser/dom_ui/tips_handler.cc (revision 32858) |
| +++ chrome/browser/dom_ui/tips_handler.cc (working copy) |
| @@ -52,7 +52,7 @@ |
| } |
| } |
| - if (tips_cache_ != NULL && tips_cache_->GetSize() != 0) { |
| + if (tips_cache_ != NULL && !tips_cache_->empty()) { |
| if (tips_cache_->GetInteger( |
| WebResourceService::kCurrentTipPrefName, ¤t_tip_index) && |
| tips_cache_->GetList( |