Change ScopedPtrHashMap's 2nd template parameter
commit213a4dbd5994d5aad53acb08e8960804bbffbc07
authorkcwu <kcwu@chromium.org>
Tue, 28 Apr 2015 18:54:28 +0000 (28 11:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Apr 2015 18:55:42 +0000 (28 18:55 +0000)
tree921c10648885fa8383ecd670ac6bc97dd014fdfd
parentc78f00838a4db55c89521b1606e26f134be8b0be
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}
64 files changed:
base/BUILD.gn
base/base.gyp
base/containers/scoped_ptr_hash_map.h
base/containers/scoped_ptr_hash_map_unittest.cc [new file with mode: 0644]
cc/output/direct_renderer.cc
cc/output/direct_renderer.h
cc/resources/layer_tiling_data.h
cc/surfaces/surface_aggregator.h
cc/surfaces/surface_factory.h
cc/test/test_web_graphics_context_3d.cc
cc/test/test_web_graphics_context_3d.h
cc/trees/tree_synchronizer.cc
chrome/browser/android/compositor/tab_content_manager.h
chrome/browser/chromeos/login/signin/token_handle_util.h
chrome/browser/chromeos/net/wake_on_wifi_manager.h
chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h
chrome/browser/chromeos/power/extension_event_observer.h
chrome/browser/content_settings/permission_context_base.h
chrome/browser/devtools/device/usb/android_usb_browsertest.cc
chrome/browser/devtools/devtools_network_controller.h
chrome/browser/extensions/extension_management.h
chrome/browser/media/media_stream_capture_indicator.h
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
chrome/browser/prefs/tracked/pref_hash_filter.h
chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
chrome/browser/sync_file_system/drive_backend/sync_task_manager.h
chrome/browser/ui/ash/system_tray_delegate_chromeos.h
chrome/browser/ui/views/apps/keyboard_hook_handler_win.cc
components/autofill/core/common/autofill_regexes.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
components/html_viewer/mock_web_blob_registry_impl.h
components/nacl/renderer/ppb_nacl_private_impl.cc
components/password_manager/core/browser/affiliation_backend.h
components/policy/core/common/cloud/component_cloud_policy_service.cc
components/rappor/sampler.h
components/signin/core/browser/account_tracker_service.h
components/view_manager/animation_runner.h
components/webui_generator/view.h
content/browser/media/cdm/browser_cdm_manager.h
content/browser/media/media_web_contents_observer.h
content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
content/browser/service_worker/service_worker_context_watcher.cc
content/browser/service_worker/service_worker_context_watcher.h
content/browser/service_worker/service_worker_internals_ui.h
content/browser/shared_worker/shared_worker_service_impl.h
content/common/gpu/client/command_buffer_proxy_impl.h
content/common/gpu/gpu_channel_manager.h
content/renderer/input/input_handler_manager.h
content/test/mock_webblob_registry_impl.h
device/bluetooth/bluetooth_device_win.cc
media/base/cdm_promise_adapter.h
media/base/key_systems_support_uma.h
media/blink/webencryptedmediaclient_impl.h
media/cdm/aes_decryptor.h
ppapi/proxy/interface_list.h
ppapi/proxy/plugin_dispatcher.h
ppapi/proxy/udp_socket_filter.h
sync/internal_api/public/attachments/attachment_downloader_impl.h
sync/internal_api/public/attachments/attachment_uploader_impl.h
ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc
ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h
ui/ozone/platform/drm/gpu/hardware_display_controller.h
ui/ozone/platform/drm/gpu/screen_manager.h