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

Issue 455011: Don't use any member variables when sending a sync call... (Closed)

Created:
11 years ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Don't use any member variables when sending a sync call, since SyncChannel could be deleted. BUG=20364 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33414

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -46 lines) Patch
M ipc/ipc_sync_channel.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 1 5 chunks +27 lines, -26 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 8 chunks +44 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jam
11 years ago (2009-12-01 00:00:48 UTC) #1
darin (slow to review)
LGTM It'd be great if there were a way to construct a unit test for ...
11 years ago (2009-12-01 00:30:24 UTC) #2
jam
added test http://codereview.chromium.org/455011/diff/1/2 File ipc/ipc_sync_channel.cc (right): http://codereview.chromium.org/455011/diff/1/2#newcode486 ipc/ipc_sync_channel.cc:486: WaitableEvent* dispatch_event = sync_context()->GetDispatchEvent(); On 2009/12/01 00:30:24, ...
11 years ago (2009-12-01 02:33:52 UTC) #3
darin (slow to review)
11 years ago (2009-12-01 04:40:08 UTC) #4
LGTM for the test.

Powered by Google App Engine
This is Rietveld 408576698