| Index: chrome/common/extensions/extension_icon_set.cc
|
| diff --git a/chrome/common/extensions/extension_icon_set.cc b/chrome/common/extensions/extension_icon_set.cc
|
| index fc1ac58860eca4ba7eb4dff704498db97b50991e..9b47c7dea2ebe1b9f47b05c0712c4379dedf80e0 100644
|
| --- a/chrome/common/extensions/extension_icon_set.cc
|
| +++ b/chrome/common/extensions/extension_icon_set.cc
|
| @@ -15,7 +15,7 @@ void ExtensionIconSet::Clear() {
|
| }
|
|
|
| void ExtensionIconSet::Add(int size, const std::string& path) {
|
| - CHECK(path.size() > 0 && path[0] != '/');
|
| + CHECK(!path.empty() && path[0] != '/');
|
| map_[size] = path;
|
| }
|
|
|
|
|