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

Issue 9845017: Fix a few warnings that -Wnull-conversion of a future clang will complain about. (Closed)

Created:
8 years, 9 months ago by Nico
Modified:
8 years, 9 months ago
Reviewers:
Mark Mentovai, tony, eroman, sky
CC:
chromium-reviews, jonathan.backer, fischman+watch_chromium.org, dhollowa+watch_chromium.org, Ian Vollick, pam+watch_chromium.org, ukai+watch_chromium.org, brettw-cc_chromium.org, piman+watch_chromium.org
Visibility:
Public.

Description

Fix a few warnings that -Wnull-conversion of a future clang will complain about. BUG=none TEST=none TBR=OWNERS NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129337

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 5

Patch Set 5 : comments #

Total comments: 2

Patch Set 6 : hm #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -29 lines) Patch
M base/mac/scoped_ioobject.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M base/process_util_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/mac/install_from_dmg.mm View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/mac/mock_launchd.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/webplugin_delegate_proxy.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M crypto/cssm_init.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M crypto/rsa_private_key_mac.cc View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M net/base/x509_util_mac.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M ui/gfx/compositor/layer_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl_mac.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/mac/test_webview_delegate.mm View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Nico
8 years, 9 months ago (2012-03-27 20:59:38 UTC) #1
Mark Mentovai
Some data types provide their own symbolic constant to use in place of NULL; these ...
8 years, 9 months ago (2012-03-27 21:09:59 UTC) #2
Nico
Thanks, all done. Found (and used) names for null plugins and surfaces too.
8 years, 9 months ago (2012-03-27 21:30:05 UTC) #3
Mark Mentovai
LGTM, except for one try bot-inspired comment. http://codereview.chromium.org/9845017/diff/12001/ui/gfx/compositor/layer_unittest.cc File ui/gfx/compositor/layer_unittest.cc (right): http://codereview.chromium.org/9845017/diff/12001/ui/gfx/compositor/layer_unittest.cc#newcode369 ui/gfx/compositor/layer_unittest.cc:369: new Compositor(this, ...
8 years, 9 months ago (2012-03-27 21:43:42 UTC) #4
Nico
thanks! http://codereview.chromium.org/9845017/diff/12001/ui/gfx/compositor/layer_unittest.cc File ui/gfx/compositor/layer_unittest.cc (right): http://codereview.chromium.org/9845017/diff/12001/ui/gfx/compositor/layer_unittest.cc#newcode369 ui/gfx/compositor/layer_unittest.cc:369: new Compositor(this, kNullAcceleratedWidget, gfx::Size(1000, 1000))); Hm, maybe cros ...
8 years, 9 months ago (2012-03-27 21:55:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9845017/15004
8 years, 9 months ago (2012-03-27 22:49:36 UTC) #6
commit-bot: I haz the power
Presubmit check for 9845017-15004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-27 22:49:43 UTC) #7
Nico
sky, tony, eroman: OWNERS stamps.
8 years, 9 months ago (2012-03-27 22:52:23 UTC) #8
sky
LGTM
8 years, 9 months ago (2012-03-27 22:55:21 UTC) #9
tony
LGTM2
8 years, 9 months ago (2012-03-27 22:56:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9845017/15004
8 years, 9 months ago (2012-03-27 22:57:20 UTC) #11
commit-bot: I haz the power
Try job failure for 9845017-15004 on win for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=4721 Step "update" is always ...
8 years, 9 months ago (2012-03-27 23:31:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9845017/15004
8 years, 9 months ago (2012-03-27 23:45:33 UTC) #13
commit-bot: I haz the power
Try job failure for 9845017-15004 on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=14801 Step "update" is always ...
8 years, 9 months ago (2012-03-28 00:03:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/9845017/15004
8 years, 9 months ago (2012-03-28 01:33:57 UTC) #15
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 01:35:54 UTC) #16
Change committed as 129337

Powered by Google App Engine
This is Rietveld 408576698