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

Issue 2567713003: Using mojo::ScopedSharedBufferHandle directly in GamepadSharedMemoryReader (Closed)

Created:
4 years ago by ke.he
Modified:
4 years ago
Reviewers:
jam, blundell
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Using mojo::ScopedSharedBufferHandle directly in GamepadSharedMemoryReader After gamepad mojoification, In renderer side, GamepadSharedMemoryReader has to "unwrap" the received mojo::ScopedSharedBufferHandle into a base::SharedMemoryHandle. It is not good. In this patch we let GamepadSharedMemoryReader completely use mojo::SharedBuffer to avoid the "unwrap" operation. BUG = 670655 Committed: https://crrev.com/2ae3356d5aea96c53704adabd1804336c176571b Cr-Commit-Position: refs/heads/master@{#438039}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -19 lines) Patch
M content/renderer/gamepad_shared_memory_reader.h View 2 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/gamepad_shared_memory_reader.cc View 3 chunks +7 lines, -15 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
ke.he
Hi, blundell@, We left a TODO() said that in renderer side GamepadSharedBufferImpl can use mojo::SharedBuffer ...
4 years ago (2016-12-10 06:49:42 UTC) #6
blundell
lgtm
4 years ago (2016-12-12 12:40:21 UTC) #7
ke.he
jam@, Could you please PTAL on this. Thanks!
4 years ago (2016-12-12 12:45:41 UTC) #9
jam
lgtm
4 years ago (2016-12-12 17:56:48 UTC) #10
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/2567713003/1
4 years ago (2016-12-13 02:23:12 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-13 03:45:14 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-13 03:49:17 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2ae3356d5aea96c53704adabd1804336c176571b
Cr-Commit-Position: refs/heads/master@{#438039}

Powered by Google App Engine
This is Rietveld 408576698