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

Issue 1035313002: content: Remove non-thread-safe use of WeakPtrs. (Closed)

Created:
5 years, 9 months ago by reveman
Modified:
5 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Remove non-thread-safe use of WeakPtrs. Instead of avoiding to send IPC from ChildDiscardableSharedMemoryManager dtor, make sure ThreadSafeSender instance is still valid at the time dtor is called. BUG=471246 Committed: https://crrev.com/fc8a910c301cc98f5667dfc353e9ba817a78d378 Cr-Commit-Position: refs/heads/master@{#322665}

Patch Set 1 #

Total comments: 4

Patch Set 2 : SendDeletedDiscardableSharedMemoryMessage #

Patch Set 3 : cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -15 lines) Patch
M content/child/child_discardable_shared_memory_manager.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/child/child_discardable_shared_memory_manager.cc View 1 2 3 chunks +8 lines, -12 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
reveman
5 years, 9 months ago (2015-03-27 21:08:37 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc File content/child/child_discardable_shared_memory_manager.cc (right): https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc#newcode74 content/child/child_discardable_shared_memory_manager.cc:74: void DeletedDiscardableSharedMemory( We name functions based on what they ...
5 years, 9 months ago (2015-03-27 21:13:01 UTC) #3
reveman
https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc File content/child/child_discardable_shared_memory_manager.cc (right): https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc#newcode74 content/child/child_discardable_shared_memory_manager.cc:74: void DeletedDiscardableSharedMemory( On 2015/03/27 at 21:13:01, Avi wrote: > ...
5 years, 9 months ago (2015-03-27 21:27:35 UTC) #4
Avi (use Gerrit)
https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc File content/child/child_discardable_shared_memory_manager.cc (right): https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc#newcode74 content/child/child_discardable_shared_memory_manager.cc:74: void DeletedDiscardableSharedMemory( On 2015/03/27 21:27:34, reveman wrote: > On ...
5 years, 9 months ago (2015-03-27 21:38:46 UTC) #5
reveman
PTAL https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc File content/child/child_discardable_shared_memory_manager.cc (right): https://codereview.chromium.org/1035313002/diff/1/content/child/child_discardable_shared_memory_manager.cc#newcode74 content/child/child_discardable_shared_memory_manager.cc:74: void DeletedDiscardableSharedMemory( On 2015/03/27 21:38:46, Avi wrote: > ...
5 years, 9 months ago (2015-03-27 21:53:53 UTC) #6
Avi (use Gerrit)
lgtm
5 years, 9 months ago (2015-03-27 21:55:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035313002/40001
5 years, 9 months ago (2015-03-27 21:59:10 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-27 22:50:44 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 22:51:30 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fc8a910c301cc98f5667dfc353e9ba817a78d378
Cr-Commit-Position: refs/heads/master@{#322665}

Powered by Google App Engine
This is Rietveld 408576698