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

Issue 7835010: Fix thread-checker debug code in GpuChannelHost::MessageFilter. (Closed)

Created:
9 years, 3 months ago by no sievers
Modified:
9 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Fix thread-checker debug code in GpuChannelHost::MessageFilter. GpuChannelHost can actually outlive the GPUChannel instance (if there is still a context referencing it). Therefore filter destruction can legally happen on IO, main, or compositor thread. Put more explicit DCHECK()s to for the member function that must be called on the IO thread instead. BUG=95148 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99822

Patch Set 1 #

Patch Set 2 : add include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -10 lines) Patch
M content/renderer/gpu/gpu_channel_host.h View 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/gpu/gpu_channel_host.cc View 1 5 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
nduca
LGTM
9 years, 3 months ago (2011-09-03 05:12:03 UTC) #1
lain Merrick
Aha, all uses of listeners_ are on the IO thread? Cool, LGTM. Somehow I got ...
9 years, 3 months ago (2011-09-06 12:29:09 UTC) #2
Ken Russell (switch to Gerrit)
LGTM from owners standpoint.
9 years, 3 months ago (2011-09-06 18:31:14 UTC) #3
commit-bot: I haz the power
9 years, 3 months ago (2011-09-06 21:18:13 UTC) #4
Change committed as 99822

Powered by Google App Engine
This is Rietveld 408576698