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

Issue 2045723002: mojo ArrayTraits<T>::Resize returns bool indicating success (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tdresser+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo ArrayTraits<T>::Resize returns bool indicating success ArrayTraits<T>::Resize should return false and thus fail deserialization if the array cannot be resized. BUG=611802 TBR=ben@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/7b3867c7fe43b232dee8611280bb3f0da5a1111a Cr-Commit-Position: refs/heads/master@{#398251}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added comment #

Patch Set 3 : Rebased #

Patch Set 4 : Update IPC fuzzer #

Patch Set 5 : Fixed pach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -20 lines) Patch
M gpu/ipc/common/mailbox_struct_traits.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/common/mailbox_struct_traits.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/array_traits.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/array_traits_standard.h View 1 chunk +4 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/array_traits_stl.h View 1 chunk +4 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/array_traits_wtf.h View 1 chunk +4 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/array_traits_wtf_vector.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/array_serialization.h View 5 chunks +10 lines, -5 lines 0 comments Download
M skia/public/interfaces/bitmap_skbitmap_struct_traits.h View 1 chunk +1 line, -1 line 0 comments Download
M skia/public/interfaces/bitmap_skbitmap_struct_traits.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/mojo/latency_info_struct_traits.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/events/mojo/latency_info_struct_traits.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
Fady Samuel
PTAL Yuzhu!
4 years, 6 months ago (2016-06-06 20:56:15 UTC) #3
yzshen1
LGTM with one nit: https://codereview.chromium.org/2045723002/diff/1/mojo/public/cpp/bindings/array_traits.h File mojo/public/cpp/bindings/array_traits.h (right): https://codereview.chromium.org/2045723002/diff/1/mojo/public/cpp/bindings/array_traits.h#newcode35 mojo/public/cpp/bindings/array_traits.h:35: // static bool Resize(CustomArray<T>& input, ...
4 years, 6 months ago (2016-06-06 21:00:06 UTC) #4
Fady Samuel
Thanks! Ben, I'm TBR'ing you in case you don't get to this but this is ...
4 years, 6 months ago (2016-06-06 22:52:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045723002/20001
4 years, 6 months ago (2016-06-07 02:58:14 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/17012) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-07 02:59:57 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045723002/40001
4 years, 6 months ago (2016-06-07 03:55:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045723002/60001
4 years, 6 months ago (2016-06-07 04:28:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045723002/80001
4 years, 6 months ago (2016-06-07 04:30:45 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-07 08:13:18 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 08:15:20 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7b3867c7fe43b232dee8611280bb3f0da5a1111a
Cr-Commit-Position: refs/heads/master@{#398251}

Powered by Google App Engine
This is Rietveld 408576698