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

Issue 2392713002: mojo: Mark DataView readers as WARN_UNUSED_RESULT. (Closed)

Created:
4 years, 2 months ago by dcheng
Modified:
4 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo: Mark DataView readers as WARN_UNUSED_RESULT. It's important to check this return value to make sure that deserialization actually succeeded. BUG=652129 Committed: https://crrev.com/88622215affa898deaf1399711387289cd8ff8ed Cr-Commit-Position: refs/heads/master@{#422681}

Patch Set 1 #

Patch Set 2 : Fix attribute placement to appease gcc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -12 lines) Patch
M components/arc/bluetooth/bluetooth_struct_traits.cc View 2 chunks +4 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl View 1 3 chunks +9 lines, -9 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/union_data_view_declaration.tmpl View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
dcheng
I'm not sure if there are other routines I'm missing here: perhaps some of the ...
4 years, 2 months ago (2016-10-03 21:30:20 UTC) #4
Ken Rockot(use gerrit already)
LGTM Yes we should also add this to all the specializations of StringTraits and ArrayTraits ...
4 years, 2 months ago (2016-10-03 21:35:59 UTC) #5
Tom Sepez
RS LGTM
4 years, 2 months ago (2016-10-03 21:56:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2392713002/20001
4 years, 2 months ago (2016-10-04 01:25:28 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-04 02:51:24 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 02:54:18 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/88622215affa898deaf1399711387289cd8ff8ed
Cr-Commit-Position: refs/heads/master@{#422681}

Powered by Google App Engine
This is Rietveld 408576698