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

Issue 915403003: Enable size_t to int truncation warnings in PPAPI (Closed)

Created:
5 years, 10 months ago by brettw
Modified:
5 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, wfh+watch_chromium.org, rickyz+watch_chromium.org, raymes+watch_chromium.org, feature-media-reviews_chromium.org, teravest+watch_chromium.org, dcheng, bradnelson+warch_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable size_t to int truncation warnings in PPAPI Also removed a few extra "-Wpedantic" warnings in ppapi_cpp. I don't see a good justification why this should be different than the rest of the project. Fix GN error in media. NOPRESUBMIT=true Committed: https://crrev.com/669d47b1bf59279718ab6ef07e9eb69fb42c8aa4 Cr-Commit-Position: refs/heads/master@{#316289}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : checked_cast, misc fixes #

Patch Set 4 : #

Patch Set 5 : ppapi_tests on win64 #

Patch Set 6 : ppapi_unittests win x64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -201 lines) Patch
M media/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/BUILD.gn View 1 4 chunks +0 lines, -22 lines 0 comments Download
M ppapi/cpp/dev/file_chooser_dev.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/cpp/dev/ime_input_event_dev.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/dev/scriptable_object_deprecated.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/cpp/input_event.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/private/flash_clipboard.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/examples/gamepad/gamepad.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/examples/ime/ime.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/examples/printing/printing.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/examples/video_decode/video_decode.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/examples/video_decode/video_decode_dev.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 2 chunks +0 lines, -30 lines 0 comments Download
M ppapi/ppapi_internal.gyp View 1 3 chunks +0 lines, -6 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 8 chunks +0 lines, -16 lines 0 comments Download
M ppapi/proxy/audio_input_resource.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/device_enumeration_resource_helper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/file_ref_resource.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/flash_clipboard_resource.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/pdf_resource.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/platform_verification_private_resource.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_command_buffer_proxy.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_testing_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppb_var_unittest.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M ppapi/proxy/ppb_video_decoder_proxy.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppp_printing_proxy.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/raw_var_data_unittest.cc View 1 2 3 4 5 4 chunks +12 lines, -12 lines 0 comments Download
M ppapi/proxy/serialized_var_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/url_loader_resource.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/url_loader_resource.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/video_capture_resource.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/websocket_resource.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/websocket_resource_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/shared_impl/array_writer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/shared_impl/flash_clipboard_format_registry.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M ppapi/tests/test_file_io.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_file_io.cc View 1 2 3 4 12 chunks +20 lines, -14 lines 0 comments Download
M ppapi/tests/test_file_mapping.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/test_flash_clipboard.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/tests/test_flash_file.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/tests/test_host_resolver.cc View 1 2 3 4 3 chunks +6 lines, -4 lines 0 comments Download
M ppapi/tests/test_host_resolver_private.cc View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download
M ppapi/tests/test_memory.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/test_network_monitor.cc View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M ppapi/tests/test_post_message.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_tcp_server_socket_private.cc View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M ppapi/tests/test_tcp_socket.cc View 1 2 3 4 4 chunks +8 lines, -4 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/tests/test_udp_socket.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M ppapi/tests/test_udp_socket_private.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/tests/test_url_loader.cc View 1 2 3 4 5 chunks +11 lines, -6 lines 0 comments Download
M ppapi/tests/test_url_request.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
brettw
The GN warnings on Windows weren't set up properly to disable these warning. Rather than ...
5 years, 10 months ago (2015-02-12 18:46:17 UTC) #2
dmichael (off chromium)
Thanks for doing this! A few comments, but o/w lgtm https://codereview.chromium.org/915403003/diff/20001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/915403003/diff/20001/media/BUILD.gn#newcode640 ...
5 years, 10 months ago (2015-02-12 18:56:43 UTC) #3
brettw
I chacnged to a bunch of checked_casts when it looked like the value might come ...
5 years, 10 months ago (2015-02-12 21:09:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/40001
5 years, 10 months ago (2015-02-12 21:26:02 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/42394)
5 years, 10 months ago (2015-02-12 21:32:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/40001
5 years, 10 months ago (2015-02-12 22:44:54 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/42429)
5 years, 10 months ago (2015-02-12 22:51:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/50001
5 years, 10 months ago (2015-02-13 00:16:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/46451)
5 years, 10 months ago (2015-02-13 00:58:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/50001
5 years, 10 months ago (2015-02-13 01:02:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/46943)
5 years, 10 months ago (2015-02-13 01:45:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/70001
5 years, 10 months ago (2015-02-13 19:26:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915403003/90001
5 years, 10 months ago (2015-02-13 20:11:28 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:90001)
5 years, 10 months ago (2015-02-13 21:17:46 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 21:18:17 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/669d47b1bf59279718ab6ef07e9eb69fb42c8aa4
Cr-Commit-Position: refs/heads/master@{#316289}

Powered by Google App Engine
This is Rietveld 408576698