diff options
author | kcwu <kcwu@chromium.org> | 2015-04-28 11:54:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-28 18:55:42 +0000 |
commit | 213a4dbd5994d5aad53acb08e8960804bbffbc07 (patch) | |
tree | 921c10648885fa8383ecd670ac6bc97dd014fdfd /components/data_reduction_proxy | |
parent | c78f00838a4db55c89521b1606e26f134be8b0be (diff) | |
download | chromium_src-213a4dbd5994d5aad53acb08e8960804bbffbc07.zip chromium_src-213a4dbd5994d5aad53acb08e8960804bbffbc07.tar.gz chromium_src-213a4dbd5994d5aad53acb08e8960804bbffbc07.tar.bz2 |
Change ScopedPtrHashMap's 2nd template parameter
Now ScopedPtrHashMap expect the 2nd parameter is scoped_ptr<T>. For example, old usage
ScopedPtrHashMap<int, Value>
new usage
ScopedPtrHashMap<int, scoped_ptr<Value>>
With this change, ScopedPtrHashMap support scoped_ptr's custom deleter.
R=danakj@chromium.org, tzik@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/1099383002
Cr-Commit-Position: refs/heads/master@{#327341}
Diffstat (limited to 'components/data_reduction_proxy')
-rw-r--r-- | components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h index d1e3bf2..6206add 100644 --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h @@ -81,7 +81,7 @@ class DataReductionProxyCompressionStats { friend class DataReductionProxyCompressionStatsTest; typedef std::map<const char*, int64> DataReductionProxyPrefMap; - typedef base::ScopedPtrHashMap<const char*, base::ListValue> + typedef base::ScopedPtrHashMap<const char*, scoped_ptr<base::ListValue>> DataReductionProxyListPrefMap; // Loads all data_reduction_proxy::prefs into the |pref_map_| and |