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

Issue 1994013002: Fix "unused variable" warnings. (Closed)

Created:
4 years, 7 months ago by Peter Kasting
Modified:
4 years, 7 months ago
Reviewers:
no sievers, timvolodine
CC:
chromium-reviews, nasko+codewatch_chromium.org, creis+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org, riju_, Michael van Ouwerkerk, jam, timvolodine, feature-media-reviews_chromium.org, darin-cc_chromium.org, shuchen+watch_chromium.org, mcasas+watch+vc_chromium.org, mlamouri+watch-sensors_chromium.org, loading-reviews_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix "unused variable" warnings. These were exposed by changing DISALLOW_COPY_AND_ASSIGN to use "= delete", and must be fixed before that change can land. See https://codereview.chromium.org/1981053002/ for the full CL. BUG=447156 TEST=none Committed: https://crrev.com/3bc27f8eb9e051454cdeadbcda8000683eccca1a Cr-Commit-Position: refs/heads/master@{#395003}

Patch Set 1 #

Patch Set 2 : Update to reflect recent change to Mac code #

Total comments: 4

Patch Set 3 : Sync to latest behavior #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -39 lines) Patch
M content/browser/device_sensors/data_fetcher_shared_memory.h View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_default.cc View 1 chunk +1 line, -6 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_win.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M content/browser/loader/mime_type_resource_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/loader/mime_type_resource_handler.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/media/capture/window_activity_tracker_mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/media/capture/window_activity_tracker_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 2 chunks +12 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/text_input_client_mac_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/text_input_client_message_filter.h View 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/renderer_host/text_input_client_message_filter.mm View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Peter Kasting
4 years, 7 months ago (2016-05-19 05:27:22 UTC) #2
timvolodine
https://codereview.chromium.org/1994013002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory.h File content/browser/device_sensors/data_fetcher_shared_memory.h (right): https://codereview.chromium.org/1994013002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory.h#newcode55 content/browser/device_sensors/data_fetcher_shared_memory.h:55: DeviceOrientationHardwareBuffer* orientation_absolute_buffer_ = nullptr; yeah sorry, we actually need ...
4 years, 7 months ago (2016-05-19 14:01:44 UTC) #4
no sievers
lgtm https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc#newcode67 content/browser/ppapi_plugin_process_host.cc:67: #elif defined(OS_POSIX) nit: can you put the OS_POSIX ...
4 years, 7 months ago (2016-05-19 17:58:00 UTC) #5
Peter Kasting
https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc#newcode67 content/browser/ppapi_plugin_process_host.cc:67: #elif defined(OS_POSIX) On 2016/05/19 17:58:00, sievers wrote: > nit: ...
4 years, 7 months ago (2016-05-19 18:14:46 UTC) #6
no sievers
On 2016/05/19 18:14:46, Peter Kasting wrote: > https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc > File content/browser/ppapi_plugin_process_host.cc (right): > > https://codereview.chromium.org/1994013002/diff/20001/content/browser/ppapi_plugin_process_host.cc#newcode67 ...
4 years, 7 months ago (2016-05-19 18:17:04 UTC) #7
Peter Kasting
https://codereview.chromium.org/1994013002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory.h File content/browser/device_sensors/data_fetcher_shared_memory.h (right): https://codereview.chromium.org/1994013002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory.h#newcode55 content/browser/device_sensors/data_fetcher_shared_memory.h:55: DeviceOrientationHardwareBuffer* orientation_absolute_buffer_ = nullptr; On 2016/05/19 14:01:44, timvolodine wrote: ...
4 years, 7 months ago (2016-05-20 02:57:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1994013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1994013002/40001
4 years, 7 months ago (2016-05-20 02:58:03 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-20 04:50:30 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 04:52:03 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3bc27f8eb9e051454cdeadbcda8000683eccca1a
Cr-Commit-Position: refs/heads/master@{#395003}

Powered by Google App Engine
This is Rietveld 408576698