| 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 bb8c763df38469d923a295e6b04e27d47f80abff..aa71421163900be569bb6a71a6284742398a988e 100644
|
| --- a/chrome/common/extensions/extension_icon_set.cc
|
| +++ b/chrome/common/extensions/extension_icon_set.cc
|
| @@ -68,3 +68,10 @@ int ExtensionIconSet::GetIconSizeFromPath(const std::string& path) const {
|
|
|
| return 0;
|
| }
|
| +
|
| +void ExtensionIconSet::CopyForTest(ExtensionIconSet* destination) const {
|
| + DCHECK(destination);
|
| + destination->Clear();
|
| + for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); ++iter)
|
| + destination->Add(iter->first, iter->second);
|
| +}
|
|
|