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

Issue 2544953002: content: Some code cleanup related to shared memory allocation. (Closed)

Created:
4 years ago by sadrul
Modified:
4 years ago
Reviewers:
erikchen, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, dcheng, feature-media-reviews_chromium.org, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Some code cleanup related to shared memory allocation. After https://crrev.com/432737, memory allocation does not do IPC anymore. So it does not need the IPC::Sender anymore. Also, it is no longer necessary to have special code to decide when the allocation request failed due to out-of-memory. So remove that code too. BUG=612500 Committed: https://crrev.com/ee3ff1ffb2acc57ffe1668c603d79debcc463b8c Cr-Commit-Position: refs/heads/master@{#437463}

Patch Set 1 #

Total comments: 3

Patch Set 2 : . #

Patch Set 3 : tot merge #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -45 lines) Patch
M content/child/blob_storage/webblobregistry_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/child/child_shared_bitmap_manager.cc View 1 2 1 chunk +2 lines, -15 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 1 chunk +2 lines, -12 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 1 chunk +1 line, -11 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/renderer_clipboard_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (34 generated)
sadrul
4 years ago (2016-12-02 00:41:46 UTC) #4
nasko
LGTM with a question. https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc File content/child/child_thread_impl.cc (right): https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc#newcode733 content/child/child_thread_impl.cc:733: *out_of_memory = true; Do we ...
4 years ago (2016-12-02 19:58:08 UTC) #7
sadrul
+erikchen@ to confirm https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc File content/child/child_thread_impl.cc (right): https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc#newcode733 content/child/child_thread_impl.cc:733: *out_of_memory = true; On 2016/12/02 19:58:08, ...
4 years ago (2016-12-08 03:27:53 UTC) #9
erikchen
https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc File content/child/child_thread_impl.cc (right): https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc#newcode733 content/child/child_thread_impl.cc:733: *out_of_memory = true; On 2016/12/08 03:27:52, sadrul wrote: > ...
4 years ago (2016-12-08 03:36:02 UTC) #10
sadrul
On 2016/12/08 03:36:02, erikchen wrote: > https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc > File content/child/child_thread_impl.cc (right): > > https://codereview.chromium.org/2544953002/diff/1/content/child/child_thread_impl.cc#newcode733 > ...
4 years ago (2016-12-08 06:08:07 UTC) #25
erikchen
lgtm
4 years ago (2016-12-08 17:47:53 UTC) #28
nasko
https://codereview.chromium.org/2544953002/diff/80001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/2544953002/diff/80001/content/child/child_thread_impl.h#newcode112 content/child/child_thread_impl.h:112: // A static variant that can be called on ...
4 years ago (2016-12-08 18:40:10 UTC) #29
sadrul
https://codereview.chromium.org/2544953002/diff/80001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/2544953002/diff/80001/content/child/child_thread_impl.h#newcode112 content/child/child_thread_impl.h:112: // A static variant that can be called on ...
4 years ago (2016-12-08 19:51:00 UTC) #34
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/2544953002/120001
4 years ago (2016-12-09 04:17:47 UTC) #40
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years ago (2016-12-09 04:22:31 UTC) #43
commit-bot: I haz the power
4 years ago (2016-12-09 04:26:04 UTC) #45
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ee3ff1ffb2acc57ffe1668c603d79debcc463b8c
Cr-Commit-Position: refs/heads/master@{#437463}

Powered by Google App Engine
This is Rietveld 408576698