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

Issue 2018453002: Remove unused variables. (Closed)

Created:
4 years, 7 months ago by Peter Kasting
Modified:
4 years, 7 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, cbentzel+watch_chromium.org, yusukes+watch_chromium.org, Aaron Boodman, posciak+watch_chromium.org, hidehiko+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, davemoore+watch_chromium.org, qsr+mojo_chromium.org, dahollings
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused variables. These variables trigger compiler warnings (and thus build errors) when DISALLOW_COPY_AND_ASSIGN is changed to use "= delete", and thus must be removed before that lands. https://codereview.chromium.org/1701063003 (a while ago) added the variable in chrome/browser/chromeos/arc/arc_service_launcher.h, which was never used. https://codereview.chromium.org/1866043006 removed the uses of the variables in cc/tiles/tile_manager.cc, but not the variables themselves. https://codereview.chromium.org/1899363002 added all the media/ plumbing in order to set MojoVideoDecoder::gpu_factories_, which is unused. https://codereview.chromium.org/1961573002 added the variable in net/spdy/spdy_framer_test.cc, which is unused. BUG=447156 TEST=none CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/92b8e44c524807b245461461925bbb928af21b38 Cr-Commit-Position: refs/heads/master@{#396289}

Patch Set 1 #

Patch Set 2 : Mark variable used #

Patch Set 3 : Remove more vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -17 lines) Patch
M cc/tiles/tile_manager.cc View 1 2 4 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_service_launcher.h View 2 chunks +0 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_video_decoder.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 1 1 chunk +5 lines, -6 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 1 chunk +0 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
Peter Kasting
arthurhsu: chrome/browser/chromeos/arc/arc_service_launcher.h sandersd: media/ dahollings: net/spdy/spdy_framer_test.cc
4 years, 7 months ago (2016-05-26 06:44:37 UTC) #2
Luis Héctor Chávez
chrome/browser/chromeos/arc/* LGTM
4 years, 7 months ago (2016-05-26 15:25:11 UTC) #4
arthurhsu
On 2016/05/26 06:44:37, Peter Kasting wrote: > arthurhsu: chrome/browser/chromeos/arc/arc_service_launcher.h LGTM
4 years, 7 months ago (2016-05-26 16:39:05 UTC) #5
sandersd (OOO until July 31)
It was no accident that |gpu_factories_| was plumbed through to MojoVideoDecoder. Is there a simple ...
4 years, 7 months ago (2016-05-26 18:04:38 UTC) #6
Peter Kasting
On 2016/05/26 18:04:38, sandersd wrote: > It was no accident that |gpu_factories_| was plumbed through ...
4 years, 7 months ago (2016-05-26 18:10:01 UTC) #7
sandersd (OOO until July 31)
On 2016/05/26 18:10:01, Peter Kasting wrote: > On 2016/05/26 18:04:38, sandersd wrote: > > It ...
4 years, 7 months ago (2016-05-26 18:18:57 UTC) #10
Bence
net/spdy LGTM
4 years, 7 months ago (2016-05-26 18:35:27 UTC) #11
Peter Kasting
On 2016/05/26 18:18:57, sandersd wrote: > On 2016/05/26 18:10:01, Peter Kasting wrote: > > Note ...
4 years, 7 months ago (2016-05-26 18:37:31 UTC) #12
Peter Kasting
+ericrk for cc/tiles/tile_manager.cc since he reviewed https://codereview.chromium.org/1866043006 that led to these orphaned variables.
4 years, 7 months ago (2016-05-26 19:02:45 UTC) #16
ericrk
lgtm Good catch, thanks.
4 years, 7 months ago (2016-05-26 19:06:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018453002/40001
4 years, 7 months ago (2016-05-26 20:06:15 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-26 21:36:19 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 21:38:23 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/92b8e44c524807b245461461925bbb928af21b38
Cr-Commit-Position: refs/heads/master@{#396289}

Powered by Google App Engine
This is Rietveld 408576698