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

Issue 202863004: Fix "unreachable code" warnings (MSVC warning 4702) in content/. (Closed)

Created:
6 years, 9 months ago by Peter Kasting
Modified:
6 years, 9 months ago
Reviewers:
jam, jsbell
CC:
chromium-reviews, yusukes+watch_chromium.org, nasko+codewatch_chromium.org, ericu+idb_chromium.org, sievers+watch_chromium.org, yukishiino+watch_chromium.org, dgrogan, miu+watch_chromium.org, jbauman+watch_chromium.org, alecflett, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, creis+watch_chromium.org, fischman+watch_chromium.org, penghuang+watch_chromium.org, feature-media-reviews_chromium.org, dcheng, piman+watch_chromium.org, jsbell+idb_chromium.org, jochen+watch_chromium.org, mcasas+watch_chromium.org, cmumford, danakj+watch_chromium.org, James Su, wjia+watch_chromium.org
Visibility:
Public.

Description

Fix "unreachable code" warnings (MSVC warning 4702) in content/. BUG=346399 TEST=none R=jam@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258096

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -107 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/dom_storage/dom_storage_database.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 chunks +7 lines, -18 lines 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding.cc View 1 2 2 chunks +11 lines, -18 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue.cc View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/child/child_thread.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M content/child/indexed_db/indexed_db_key_builders.cc View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/child/webcrypto/jwk.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/content_paths.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/content_switches_internal.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/indexed_db/indexed_db_key.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/indexed_db/indexed_db_param_traits.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M content/common/page_state_serialization_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M content/shell/renderer/test_runner/TestPlugin.cpp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/test/mock_webclipboard_impl.cc View 1 2 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Peter Kasting
https://codereview.chromium.org/202863004/diff/1/content/common/indexed_db/indexed_db_key.cc File content/common/indexed_db/indexed_db_key.cc (right): https://codereview.chromium.org/202863004/diff/1/content/common/indexed_db/indexed_db_key.cc#newcode124 content/common/indexed_db/indexed_db_key.cc:124: return (array_.size() > other.array_.size()) ? 1 : 0; (Was ...
6 years, 9 months ago (2014-03-18 02:55:54 UTC) #1
jam
has there been consensus that we will turn on this warning?
6 years, 9 months ago (2014-03-18 23:55:19 UTC) #2
Peter Kasting
On 2014/03/18 23:55:19, jam wrote: > has there been consensus that we will turn on ...
6 years, 9 months ago (2014-03-19 00:00:59 UTC) #3
jam
On 2014/03/19 00:00:59, Peter Kasting wrote: > On 2014/03/18 23:55:19, jam wrote: > > has ...
6 years, 9 months ago (2014-03-19 16:44:36 UTC) #4
jsbell
https://codereview.chromium.org/202863004/diff/20001/content/common/indexed_db/indexed_db_key.cc File content/common/indexed_db/indexed_db_key.cc (right): https://codereview.chromium.org/202863004/diff/20001/content/common/indexed_db/indexed_db_key.cc#newcode124 content/common/indexed_db/indexed_db_key.cc:124: return (array_.size() > other.array_.size()) ? 1 : 0; On ...
6 years, 9 months ago (2014-03-19 16:52:05 UTC) #5
Peter Kasting
https://codereview.chromium.org/202863004/diff/20001/content/common/indexed_db/indexed_db_key.cc File content/common/indexed_db/indexed_db_key.cc (right): https://codereview.chromium.org/202863004/diff/20001/content/common/indexed_db/indexed_db_key.cc#newcode124 content/common/indexed_db/indexed_db_key.cc:124: return (array_.size() > other.array_.size()) ? 1 : 0; On ...
6 years, 9 months ago (2014-03-19 17:50:41 UTC) #6
Peter Kasting
https://codereview.chromium.org/202863004/diff/20001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/202863004/diff/20001/content/browser/gpu/compositor_util.cc#newcode210 content/browser/gpu/compositor_util.cc:210: #if defined(OS_WIN) On 2014/03/19 16:44:36, jam wrote: > nit: ...
6 years, 9 months ago (2014-03-19 21:10:56 UTC) #7
Peter Kasting
6 years, 9 months ago (2014-03-19 21:16:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r258096 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698