Chromium Code Reviews| Index: base/mac/foundation_util.h |
| diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h |
| index f7821de08cdb09bca58aaca59da82bd689407e29..3d9583a12b0592f4c14fa1ded0a65d010d985861 100644 |
| --- a/base/mac/foundation_util.h |
| +++ b/base/mac/foundation_util.h |
| @@ -102,6 +102,9 @@ BASE_EXPORT CFTypeRef GetValueFromDictionary(CFDictionaryRef dict, |
| CFStringRef key, |
| CFTypeID expected_type); |
| +BASE_EXPORT template<class T> |
|
Mark Mentovai
2011/11/11 23:20:45
More of a typename than a class. You can fix CFCas
|
| +T GetValueFromDictionary(CFDictionaryRef dict, CFStringRef key); |
| + |
| // Retain/release calls for memory management in C++. |
| BASE_EXPORT void NSObjectRetain(void* obj); |
| BASE_EXPORT void NSObjectRelease(void* obj); |