Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 2051663003: base::ListValue::Append cleanup: pass unique_ptr instead of the released pointer. (Closed)

Created:
4 years, 6 months ago by dcheng
Modified:
4 years, 6 months ago
CC:
asvitkine+watch_chromium.org, avayvod+watch_chromium.org, browser-components-watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, cmumford, darin-cc_chromium.org, dbeam+watch-history_chromium.org, dbeam+watch-options_chromium.org, dbeam+watch-settings_chromium.org, devtools-reviews_chromium.org, Patrick Dubroy, eme-reviews_chromium.org, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gcasto+watchlist_chromium.org, groby+spellwatch_chromium.org, imcheng+watch_chromium.org, isheriff+watch_chromium.org, jasonroberts+watch_google.com, jdonnelly+autofillwatch_chromium.org, jsbell+idb_chromium.org, kalyank, kinuko+fileapi, media-router+watch_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, miu+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nhiroki, noyau+watch_chromium.org, pam+watch_chromium.org, pfeldman, rlp+watch_chromium.org, rouslan+autofill_chromium.org, rouslan+spell_chromium.org, sadrul, samuong+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, stevenjb+watch_chromium.org, sync-reviews_chromium.org, tdresser+watch_chromium.org, tfarina, Lei Zhang, tommycli, tracing+reviews_chromium.org, tzik, vabr+watchlistautofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, wfh+watch_chromium.org, xjz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -195 lines) Patch
M ash/touch/touch_hud_debug.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/trace_event/trace_event_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/managed_bookmark_service_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/copresence/copresence_api_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/experience_sampling_private/experience_sampling.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/settings_private/settings_private_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_tab_util.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/permission_messages_unittest.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/permissions_updater.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/plugin_metrics_provider_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/easy_unlock_app_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/speech/extension_api/tts_engine_extension_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/feedback_sender.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_bookmarks_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/task_profiler/task_profiler_data_serializer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/tabs/pinned_tab_codec.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/cookies_tree_model_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/copresence_ui_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_loader_handler.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/foreign_session_handler.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/invalidations_message_handler.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_handler.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/extensions/permissions/chrome_permission_message_provider_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/chrome/log.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/commands.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/element_util.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/chromedriver/logging.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/bookmarks/managed/managed_bookmarks_tracker_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/browser_sync/browser/profile_sync_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/dom_distiller/webui/dom_distiller_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/domain_reliability/context_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/domain_reliability/scheduler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/drive/service/fake_drive_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/impl/invalidator_storage.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/impl/unacked_invalidation_set.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/impl/unacked_invalidation_set_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/public/object_id_invalidation_map.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/invalidation/public/single_object_invalidation_set.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/browser/configuration_policy_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/webui/proximity_auth_webui_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/about_signin_internals.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/devtools/v8_sampling_profiler_browsertest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M extensions/browser/api/alarms/alarm_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/app_runtime/app_runtime_api.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/declarative/rules_registry.cc View 1 chunk +1 line, -1 line 2 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/api/device_permissions_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/hid/hid_device_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/networking_private/networking_private_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/storage/settings_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/system_info/system_info_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/web_request/web_request_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/event_listener_map_unittest.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/extensions_guest_view_manager_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/event_filter_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/permissions/set_disjunction_permission.h View 2 chunks +2 lines, -1 line 0 comments Download
M extensions/renderer/dom_activity_logger.cc View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/drive/drive_api_requests.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M media/cast/logging/stats_event_subscriber.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M media/cdm/json_web_key.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M remoting/host/pairing_registry_delegate_linux.cc View 2 chunks +3 lines, -1 line 0 comments Download
M remoting/protocol/pairing_registry.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/benchmarking_canvas.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M sync/syncable/directory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M tools/json_schema_compiler/test/arrays_unittest.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M tools/json_schema_compiler/test/choices_unittest.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M tools/json_schema_compiler/test/crossref_unittest.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M tools/json_schema_compiler/test/enums_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M tools/json_schema_compiler/test/functions_on_types_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/test/idl_schemas_unittest.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M tools/json_schema_compiler/test/objects_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M ui/events/latency_info.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
dcheng
+jam, mind taking a look? Pretty straightforward cleanup generated by running https://codereview.chromium.org/2056573002 on a Chromium ...
4 years, 6 months ago (2016-06-09 03:59:21 UTC) #2
jam
On 2016/06/09 03:59:21, dcheng wrote: > +jam, mind taking a look? Pretty straightforward cleanup generated ...
4 years, 6 months ago (2016-06-09 15:56:13 UTC) #3
dcheng
+thakis, mind reviewing this one?
4 years, 6 months ago (2016-06-09 16:12:39 UTC) #5
Nico
nice, lgtm One tangentially related question: https://codereview.chromium.org/2051663003/diff/40001/extensions/browser/api/declarative/rules_registry.cc File extensions/browser/api/declarative/rules_registry.cc (right): https://codereview.chromium.org/2051663003/diff/40001/extensions/browser/api/declarative/rules_registry.cc#newcode46 extensions/browser/api/declarative/rules_registry.cc:46: return std::move(list); huh, ...
4 years, 6 months ago (2016-06-09 16:57:35 UTC) #6
dcheng
https://codereview.chromium.org/2051663003/diff/40001/extensions/browser/api/declarative/rules_registry.cc File extensions/browser/api/declarative/rules_registry.cc (right): https://codereview.chromium.org/2051663003/diff/40001/extensions/browser/api/declarative/rules_registry.cc#newcode46 extensions/browser/api/declarative/rules_registry.cc:46: return std::move(list); On 2016/06/09 16:57:35, Nico wrote: > huh, ...
4 years, 6 months ago (2016-06-09 17:09:46 UTC) #7
dcheng
Mass TBRing owners of top-level directories.
4 years, 6 months ago (2016-06-09 17:22:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051663003/40001
4 years, 6 months ago (2016-06-09 17:23:08 UTC) #13
Devlin
mass lgtming extensions, json_schema_compiler
4 years, 6 months ago (2016-06-09 17:40:03 UTC) #14
Devlin
On 2016/06/09 17:40:03, Devlin wrote: > mass lgtming extensions, json_schema_compiler grr lgtm ing
4 years, 6 months ago (2016-06-09 17:40:26 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-09 17:53:56 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 17:54:16 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5d09049ddefb1e992be88f3137a54362e9ea5408 Cr-Commit-Position: refs/heads/master@{#398941}
4 years, 6 months ago (2016-06-09 18:00:00 UTC) #20
Wez
remoting/ LGTM On 9 June 2016 at 10:59, commit-bot@chromium.org via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote: > Patchset ...
4 years, 6 months ago (2016-06-09 19:39:43 UTC) #21
Wez
4 years, 6 months ago (2016-06-09 19:43:11 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698