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

Issue 948703002: [gcc] Fix compiler warning turned into errors while compiling default_header_painter_unittest (Closed)

Created:
5 years, 10 months ago by vivekg_samsung
Modified:
5 years, 10 months ago
Reviewers:
vivekg, James Cook, benwells
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[gcc] Fix compiler warning turned into errors while compiling default_header_painter_unittest With gcc toolchain, we get following error with EXPECT_FALSE error: converting ‘false’ to pointer type for argument 1 of ‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Werror=conversion-null] Changing EXPECT_EQ(...) to EXPECT_FALSE() fixes the error. NOTRY=true Adding NOTRY as linux_chormium_clobber_rel_ng bot is failing even without the patch. R=jamescook@chromium.org, benwells@chromium.org Committed: https://crrev.com/3e9eda0d59c8fd4bd2545aba92481ae5d563c81b Cr-Commit-Position: refs/heads/master@{#317772}

Patch Set 1 #

Total comments: 1

Patch Set 2 : patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M ash/frame/default_header_painter_unittest.cc View 1 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
vivekg
PTAL thanks.
5 years, 10 months ago (2015-02-22 01:15:06 UTC) #2
James Cook
LGTM with cleanup suggestion https://codereview.chromium.org/948703002/diff/1/ash/frame/default_header_painter_unittest.cc File ash/frame/default_header_painter_unittest.cc (right): https://codereview.chromium.org/948703002/diff/1/ash/frame/default_header_painter_unittest.cc#newcode77 ash/frame/default_header_painter_unittest.cc:77: EXPECT_EQ(true, painter.ShouldUseLightImages()); I would also ...
5 years, 10 months ago (2015-02-23 18:10:36 UTC) #3
vivekg
On 2015/02/23 18:10:36, James Cook wrote: > LGTM with cleanup suggestion Thank you. > > ...
5 years, 10 months ago (2015-02-23 20:16:31 UTC) #4
James Cook
Still LGTM
5 years, 10 months ago (2015-02-23 20:25:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948703002/20001
5 years, 10 months ago (2015-02-23 21:29:01 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/72)
5 years, 10 months ago (2015-02-24 01:03:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948703002/20001
5 years, 10 months ago (2015-02-24 01:22:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/166)
5 years, 10 months ago (2015-02-24 02:46:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948703002/20001
5 years, 10 months ago (2015-02-24 03:51:03 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/225)
5 years, 10 months ago (2015-02-24 05:14:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948703002/20001
5 years, 10 months ago (2015-02-24 05:32:22 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/247)
5 years, 10 months ago (2015-02-24 06:43:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948703002/20001
5 years, 10 months ago (2015-02-24 09:24:18 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-24 09:24:45 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 09:25:54 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3e9eda0d59c8fd4bd2545aba92481ae5d563c81b
Cr-Commit-Position: refs/heads/master@{#317772}

Powered by Google App Engine
This is Rietveld 408576698