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

Issue 12537014: Make SharedMemory track the size that was actually mapped (Closed)

Created:
7 years, 9 months ago by jschuh
Modified:
7 years, 9 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Make SharedMemory track the size that was actually mapped In the process I also had to fix several dependencies, and some major issues in transport DIBs. BUG=60819 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191098

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 14

Patch Set 7 : post sync checkpoint #

Patch Set 8 : #

Total comments: 7

Patch Set 9 : post sync checkpoint #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -75 lines) Patch
M base/shared_memory.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -11 lines 0 comments Download
M base/shared_memory_android.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M base/shared_memory_nacl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -6 lines 0 comments Download
M base/shared_memory_posix.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -8 lines 0 comments Download
M base/shared_memory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +18 lines, -4 lines 0 comments Download
M base/shared_memory_win.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +32 lines, -16 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_input_sync_writer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_sync_reader.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/surface/surface.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/surface/transport_dib.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
A ui/surface/transport_dib.cc View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
M ui/surface/transport_dib_android.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -8 lines 0 comments Download
M ui/surface/transport_dib_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/surface/transport_dib_mac.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/surface/transport_dib_win.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jschuh
@brettw - base/shared_memory* Windows is the only one with significant changes you need to look ...
7 years, 9 months ago (2013-03-18 01:09:25 UTC) #1
DaleCurtis
media/ lgtm.
7 years, 9 months ago (2013-03-18 16:41:19 UTC) #2
Ken Russell (switch to Gerrit)
ui/surface => apatrick
7 years, 9 months ago (2013-03-18 16:49:01 UTC) #3
apatrick_chromium
I looked at ui/surface. I'm not familiar with the TransportDIB code. Some questions inline. https://codereview.chromium.org/12537014/diff/67007/ui/surface/transport_dib.cc ...
7 years, 9 months ago (2013-03-18 17:32:10 UTC) #4
brettw
base lgtm https://codereview.chromium.org/12537014/diff/67007/base/shared_memory_win.cc File base/shared_memory_win.cc (right): https://codereview.chromium.org/12537014/diff/67007/base/shared_memory_win.cc#newcode29 base/shared_memory_win.cc:29: requested_size_(0), Is the ordering of these initializers ...
7 years, 9 months ago (2013-03-18 19:39:07 UTC) #5
jschuh
https://codereview.chromium.org/12537014/diff/67007/base/shared_memory_win.cc File base/shared_memory_win.cc (right): https://codereview.chromium.org/12537014/diff/67007/base/shared_memory_win.cc#newcode29 base/shared_memory_win.cc:29: requested_size_(0), On 2013/03/18 19:39:07, brettw wrote: > Is the ...
7 years, 9 months ago (2013-03-21 01:08:03 UTC) #6
jschuh
Adding @cpu to vouch for Windows.
7 years, 9 months ago (2013-03-21 01:08:25 UTC) #7
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc File base/shared_memory_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc#newcode19 base/shared_memory_win.cc:19: } I only see one usage and it that ...
7 years, 9 months ago (2013-03-21 17:14:22 UTC) #8
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc File ui/surface/transport_dib_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc#newcode86 ui/surface/transport_dib_win.cc:86: size_ = memory_info.RegionSize - (reinterpret_cast<char*>(canvas) - do we have ...
7 years, 9 months ago (2013-03-21 17:33:40 UTC) #9
apatrick_chromium
Thanks for the clarification. Over to cpu. LGTM for my part.
7 years, 9 months ago (2013-03-21 18:01:13 UTC) #10
jschuh
https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc File base/shared_memory_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc#newcode19 base/shared_memory_win.cc:19: } On 2013/03/21 17:14:22, cpu wrote: > I only ...
7 years, 9 months ago (2013-03-21 19:32:05 UTC) #11
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc File ui/surface/transport_dib_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc#newcode86 ui/surface/transport_dib_win.cc:86: size_ = memory_info.RegionSize - (reinterpret_cast<char*>(canvas) - But what does ...
7 years, 9 months ago (2013-03-21 20:02:27 UTC) #12
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc File base/shared_memory_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/base/shared_memory_win.cc#newcode19 base/shared_memory_win.cc:19: } standalone is fine. On 2013/03/21 19:32:06, Justin Schuh ...
7 years, 9 months ago (2013-03-21 20:06:15 UTC) #13
jschuh
https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc File ui/surface/transport_dib_win.cc (right): https://codereview.chromium.org/12537014/diff/97002/ui/surface/transport_dib_win.cc#newcode86 ui/surface/transport_dib_win.cc:86: size_ = memory_info.RegionSize - (reinterpret_cast<char*>(canvas) - I think I ...
7 years, 9 months ago (2013-03-26 22:09:24 UTC) #14
cpu_(ooo_6.6-7.5)
lgtm
7 years, 9 months ago (2013-03-26 23:31:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/12537014/111005
7 years, 9 months ago (2013-03-26 23:45:01 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 9 months ago (2013-03-27 05:26:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/12537014/151002
7 years, 9 months ago (2013-03-27 21:06:47 UTC) #18
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-27 21:58:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/12537014/151002
7 years, 9 months ago (2013-03-27 23:31:53 UTC) #20
commit-bot: I haz the power
7 years, 9 months ago (2013-03-28 02:02:23 UTC) #21
Message was sent while issue was closed.
Change committed as 191098

Powered by Google App Engine
This is Rietveld 408576698