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

Issue 1145893009: Change transport dib API to not make copies of SharedMemoryHandle. (Closed)

Created:
5 years, 6 months ago by erikchen
Modified:
5 years, 6 months ago
Reviewers:
bbudge, jbauman, piman
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@shared_memory_pepper_rename
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change transport dib API to not make copies of SharedMemoryHandle. I replaced the method handle() with shared_memory(). handle() would make a copy of SharedMemoryHandle, which makes assumptions about the implementation of SharedMemoryHandle. The new method shared_memory() returns a pointer to the Shared Memory object. BUG=466437 Committed: https://crrev.com/739bae47cfd9ffd68c205baf680e3b2f92ab6e56 Cr-Commit-Position: refs/heads/master@{#332451}

Patch Set 1 #

Patch Set 2 : Comments from jbauman. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -45 lines) Patch
M content/renderer/pepper/pepper_compositor_host.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_video_source_host.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/pepper/ppb_image_data_impl.h View 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/pepper/ppb_image_data_impl.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/thunk/ppb_image_data_api.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M ui/surface/transport_dib.h View 1 chunk +2 lines, -3 lines 0 comments Download
M ui/surface/transport_dib.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/surface/transport_dib_posix.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
M ui/surface/transport_dib_win.cc View 1 3 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
erikchen
jbauman: Looking for an OWNER review of TransportDib.
5 years, 6 months ago (2015-06-02 01:02:11 UTC) #2
jbauman
What about transport_dib_win.cc?
5 years, 6 months ago (2015-06-02 01:05:43 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145893009/50001
5 years, 6 months ago (2015-06-02 01:21:36 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/76825) android_chromium_gn_compile_rel on ...
5 years, 6 months ago (2015-06-02 01:31:06 UTC) #9
erikchen
On 2015/06/02 01:31:06, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 6 months ago (2015-06-02 01:46:56 UTC) #10
erikchen
On 2015/06/02 01:46:56, erikchen wrote: > On 2015/06/02 01:31:06, commit-bot: I haz the power wrote: ...
5 years, 6 months ago (2015-06-02 01:47:28 UTC) #11
jbauman
lgtm
5 years, 6 months ago (2015-06-02 01:56:43 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145893009/50001
5 years, 6 months ago (2015-06-02 16:34:44 UTC) #14
erikchen
piman: Please review.
5 years, 6 months ago (2015-06-02 17:55:44 UTC) #16
erikchen
+ the real piman.
5 years, 6 months ago (2015-06-02 19:06:56 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-02 19:10:53 UTC) #20
piman
lgtm
5 years, 6 months ago (2015-06-02 19:11:12 UTC) #21
erikchen
bbudge: Looking for an OWNER review of ppapi/thunk/ppb_image_data_api.h
5 years, 6 months ago (2015-06-02 19:27:01 UTC) #23
bbudge
lgtm
5 years, 6 months ago (2015-06-02 19:29:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145893009/50001
5 years, 6 months ago (2015-06-02 19:33:20 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:50001)
5 years, 6 months ago (2015-06-02 19:51:35 UTC) #27
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 19:53:39 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/739bae47cfd9ffd68c205baf680e3b2f92ab6e56
Cr-Commit-Position: refs/heads/master@{#332451}

Powered by Google App Engine
This is Rietveld 408576698