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

Issue 1166443004: Further clean up pepper's use of SharedMemory. (Closed)

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

Description

Further clean up pepper's use of SharedMemory. This CL uses the new methods content::BrokerDuplicateSharedMemoryHandle() and base::SharedMemory::DuplicateHandle() to remove some duplicated code. This CL changes the implementation of ShareSharedMemoryhandleWithRemote() to no longer assume that the SharedMemoryHandle is backed by a POSIX fd. BUG=466437 Committed: https://crrev.com/fc29ad99d6286026e7cce6019179334d59330935 Cr-Commit-Position: refs/heads/master@{#332903}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Fix compile error on windows. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -49 lines) Patch
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 1 chunk +17 lines, -9 lines 2 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc View 1 2 2 chunks +13 lines, -8 lines 1 comment Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 2 chunks +4 lines, -16 lines 0 comments Download
M ppapi/proxy/proxy_channel.cc View 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166443004/40001
5 years, 6 months ago (2015-06-03 04:52:52 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/89857)
5 years, 6 months ago (2015-06-03 06:28:45 UTC) #4
erikchen
piman: Please review.
5 years, 6 months ago (2015-06-03 17:33:52 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166443004/60001
5 years, 6 months ago (2015-06-03 17:35:31 UTC) #8
piman
LGTM+nits https://codereview.chromium.org/1166443004/diff/60001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/1166443004/diff/60001/content/ppapi_plugin/ppapi_thread.cc#newcode214 content/ppapi_plugin/ppapi_thread.cc:214: base::SharedMemoryHandle duped_handle; nit: just initialize this with base::SharedMemory::NULLHandle() ...
5 years, 6 months ago (2015-06-03 17:44:45 UTC) #9
erikchen
https://codereview.chromium.org/1166443004/diff/60001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/1166443004/diff/60001/content/ppapi_plugin/ppapi_thread.cc#newcode214 content/ppapi_plugin/ppapi_thread.cc:214: base::SharedMemoryHandle duped_handle; On 2015/06/03 17:44:44, piman (Very slow to ...
5 years, 6 months ago (2015-06-03 17:58:32 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/13527)
5 years, 6 months ago (2015-06-03 18:50:21 UTC) #12
erikchen
On 2015/06/03 18:50:21, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 6 months ago (2015-06-04 19:47:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166443004/60001
5 years, 6 months ago (2015-06-04 19:49:02 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-04 20:44:24 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 20:45:25 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fc29ad99d6286026e7cce6019179334d59330935
Cr-Commit-Position: refs/heads/master@{#332903}

Powered by Google App Engine
This is Rietveld 408576698