forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[remoteobjects] Move return statement outside array loop
This change addresses the unreachable code warning by moving the return statement to the outside of the array parameter handling loop in JSValueToMojom(). Also adds a check for size in the corresponding browser test. Bug: 346399, 794320 Change-Id: I1b4d77f395bc68c568c8969c398c1eab625aaa80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116648 Commit-Queue: Nico Weber <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Reviewed-by: Arthur Sonzogni <[email protected]> Cr-Commit-Position: refs/heads/master@{#753184}
- Loading branch information
Oksana Zhuravlova
authored and
Commit Bot
committed
Mar 25, 2020
1 parent
4f51afe
commit 549e231
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters