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

Issue 2129193002: Remove unused code that is causing lint warnings (Closed)

Created:
4 years, 5 months ago by mcwilliams
Modified:
4 years, 5 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, Maria
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused code that is causing lint warnings A number of unused variables are causing lint errors - removing these ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chrome/android/java/res/values/colors.xml:12 The resource `R.color.input_underline_color` appears to be unused: UnusedResources [warning] <color name="input_underline_color">#e5e5e5</color> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chrome/android/java/res/values/colors.xml:113 The resource `R.color.snippets_background_color` appears to be unused: UnusedResources [warning] <color name="snippets_background_color">#fff</color> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chrome/android/java/res/values/dimens.xml:225 The resource `R.dimen.toolbar_elevation` appears to be unused: UnusedResources [warning] <dimen name="toolbar_elevation">2dp</dimen> ~~~~~~~~~~~~~~~~~~~~~~~~ chrome/android/java/res/values/dimens.xml:295 The resource `R.dimen.snippets_card_elevation` appears to be unused: UnusedResources [warning] <dimen name="snippets_card_elevation">2dp</dimen> Modify the vertical offset to use the correct value https://codereview.chromium.org/2020403003 BUG=626655 Committed: https://crrev.com/8448997bb54bba94e8999f0af995b2d06bae2818 Cr-Commit-Position: refs/heads/master@{#404397}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -5 lines) Patch
M chrome/android/java/res/values/colors.xml View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
mcwilliams
4 years, 5 months ago (2016-07-08 13:51:23 UTC) #2
Bernhard Bauer
lgtm https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (left): https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml#oldcode254 chrome/android/java/res/values/dimens.xml:254: <dimen name="omnibox_suggestion_answer_image_vertical_spacing">5dp</dimen> Oops, turns out this one _should_ ...
4 years, 5 months ago (2016-07-08 14:04:09 UTC) #3
mcwilliams
PTAL
4 years, 5 months ago (2016-07-08 14:08:56 UTC) #5
mcwilliams
https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (left): https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml#oldcode254 chrome/android/java/res/values/dimens.xml:254: <dimen name="omnibox_suggestion_answer_image_vertical_spacing">5dp</dimen> On 2016/07/08 14:04:09, Bernhard Bauer wrote: > ...
4 years, 5 months ago (2016-07-08 14:12:14 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (left): https://codereview.chromium.org/2129193002/diff/1/chrome/android/java/res/values/dimens.xml#oldcode254 chrome/android/java/res/values/dimens.xml:254: <dimen name="omnibox_suggestion_answer_image_vertical_spacing">5dp</dimen> On 2016/07/08 14:12:13, mcwilliams wrote: > On ...
4 years, 5 months ago (2016-07-08 14:18:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2129193002/20001
4 years, 5 months ago (2016-07-08 14:27:03 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-08 15:47:37 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 15:49:48 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8448997bb54bba94e8999f0af995b2d06bae2818
Cr-Commit-Position: refs/heads/master@{#404397}

Powered by Google App Engine
This is Rietveld 408576698