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

Issue 13650004: Destroy InputHandlerManager after compositor thread (Closed)

Created:
7 years, 8 months ago by boliu
Modified:
7 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Destroy InputHandlerManager after compositor thread InputHandlerManager uses Unretained(this) to post tasks to compositor thread which means it needs to outlive the compositor thread. Added a test that is flaky without this fix. BUG=226261 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192857

Patch Set 1 #

Patch Set 2 : compositor_thread_.reset before manager_.reset in destructor #

Patch Set 3 : Revert header change. #

Patch Set 4 : Add test that is flaky without fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -0 lines) Patch
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/render_thread_impl_browsertest.cc View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
boliu
Hey James, could you take a look at this fix for windows crash.
7 years, 8 months ago (2013-04-04 18:54:28 UTC) #1
jamesr
lgtm. Good catch!
7 years, 8 months ago (2013-04-04 19:12:13 UTC) #2
boliu
On 2013/04/04 19:12:13, jamesr wrote: > lgtm. Good catch! Not by me. Is top crasher ...
7 years, 8 months ago (2013-04-04 19:13:58 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/13650004/1
7 years, 8 months ago (2013-04-04 19:14:06 UTC) #4
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-04 19:16:26 UTC) #5
MAD
On 2013/04/04 19:16:26, I haz the power (commit-bot) wrote: > Step "update" is always a ...
7 years, 8 months ago (2013-04-04 19:41:58 UTC) #6
boliu
On 2013/04/04 19:41:58, MAD wrote: > I don't understand how this solves it... The handler ...
7 years, 8 months ago (2013-04-04 19:51:58 UTC) #7
jamesr
Shutting this down before shutting down WebKit seems like a bad idea. I'm now a ...
7 years, 8 months ago (2013-04-04 19:57:59 UTC) #8
boliu
On 2013/04/04 19:57:59, jamesr wrote: > Shutting this down before shutting down WebKit seems like ...
7 years, 8 months ago (2013-04-04 20:11:19 UTC) #9
jamesr
On 2013/04/04 20:11:19, boliu wrote: > On 2013/04/04 19:57:59, jamesr wrote: > > Shutting this ...
7 years, 8 months ago (2013-04-04 20:12:29 UTC) #10
MAD
Maybe you should write a test for this? One that fails like the crash and ...
7 years, 8 months ago (2013-04-04 20:18:19 UTC) #11
boliu
On 2013/04/04 20:12:29, jamesr wrote: > Are you trying with the flags "--force-compositing-mode > --enable-threaded-compositing"? ...
7 years, 8 months ago (2013-04-04 21:21:33 UTC) #12
boliu
My best effort at adding a test to catch this case. The test is only ...
7 years, 8 months ago (2013-04-06 19:47:37 UTC) #13
jamesr
lgtm
7 years, 8 months ago (2013-04-06 19:50:19 UTC) #14
boliu
+avi for content_tests.gypi stamp
7 years, 8 months ago (2013-04-07 03:08:02 UTC) #15
Avi (use Gerrit)
lgtm stampity stamp
7 years, 8 months ago (2013-04-07 03:19:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/13650004/18001
7 years, 8 months ago (2013-04-07 03:35:58 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-07 03:59:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/13650004/18001
7 years, 8 months ago (2013-04-08 17:39:35 UTC) #19
commit-bot: I haz the power
7 years, 8 months ago (2013-04-08 19:09:03 UTC) #20
Message was sent while issue was closed.
Change committed as 192857

Powered by Google App Engine
This is Rietveld 408576698