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

Issue 1949753007: Detach the output surface if bind fails. (Closed)

Created:
4 years, 7 months ago by danakj
Modified:
4 years, 7 months ago
Reviewers:
enne (OOO), piman
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, Ken Russell (switch to Gerrit), mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, piman, no sievers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Detach the output surface if bind fails. This destroys the compositor context provider on the correct thread. R=enne, piman BUG=608946 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cbd17b97df7b1d54eae6ceb1a4d5a75d60d61245 Cr-Commit-Position: refs/heads/master@{#392168}

Patch Set 1 #

Total comments: 5

Patch Set 2 : detach: . #

Patch Set 3 : detach: . #

Patch Set 4 : detach: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -7 lines) Patch
M cc/output/output_surface.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
danakj
4 years, 7 months ago (2016-05-06 18:58:42 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949753007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949753007/1
4 years, 7 months ago (2016-05-06 18:59:04 UTC) #4
piman
https://codereview.chromium.org/1949753007/diff/1/cc/output/output_surface.cc File cc/output/output_surface.cc (right): https://codereview.chromium.org/1949753007/diff/1/cc/output/output_surface.cc#newcode217 cc/output/output_surface.cc:217: DetachFromClient(); this will do the MemoryDumpManager::GetInstance()->UnregisterDumpProvider thing - before ...
4 years, 7 months ago (2016-05-06 19:41:41 UTC) #5
enne (OOO)
https://codereview.chromium.org/1949753007/diff/1/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (left): https://codereview.chromium.org/1949753007/diff/1/content/renderer/gpu/compositor_output_surface.cc#oldcode84 content/renderer/gpu/compositor_output_surface.cc:84: if (!HasClient()) I don't understand the changes here in ...
4 years, 7 months ago (2016-05-06 19:43:30 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-06 19:51:15 UTC) #8
danakj
https://codereview.chromium.org/1949753007/diff/1/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (left): https://codereview.chromium.org/1949753007/diff/1/content/renderer/gpu/compositor_output_surface.cc#oldcode84 content/renderer/gpu/compositor_output_surface.cc:84: if (!HasClient()) On 2016/05/06 19:43:30, enne wrote: > I ...
4 years, 7 months ago (2016-05-06 20:15:27 UTC) #9
danakj
https://codereview.chromium.org/1949753007/diff/1/cc/output/output_surface.cc File cc/output/output_surface.cc (right): https://codereview.chromium.org/1949753007/diff/1/cc/output/output_surface.cc#newcode217 cc/output/output_surface.cc:217: DetachFromClient(); On 2016/05/06 19:41:40, piman wrote: > this will ...
4 years, 7 months ago (2016-05-06 20:19:56 UTC) #10
danakj
Oh okay idea from the enne department: OS::BindToClient and DetachFromClient are non-virtual on the base ...
4 years, 7 months ago (2016-05-06 20:25:08 UTC) #11
danakj
On 2016/05/06 20:25:08, danakj wrote: > Oh okay idea from the enne department: > > ...
4 years, 7 months ago (2016-05-06 20:51:13 UTC) #12
danakj
PTAL
4 years, 7 months ago (2016-05-06 20:52:08 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949753007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949753007/40001
4 years, 7 months ago (2016-05-06 20:52:30 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949753007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949753007/60001
4 years, 7 months ago (2016-05-06 20:54:21 UTC) #17
enne (OOO)
Seems legit. lgtm
4 years, 7 months ago (2016-05-06 20:58:22 UTC) #18
piman
lgtm
4 years, 7 months ago (2016-05-06 21:14:08 UTC) #19
danakj
Thanks v much both.
4 years, 7 months ago (2016-05-06 21:44:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949753007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949753007/60001
4 years, 7 months ago (2016-05-06 21:44:42 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-06 21:52:19 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 21:54:09 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cbd17b97df7b1d54eae6ceb1a4d5a75d60d61245
Cr-Commit-Position: refs/heads/master@{#392168}

Powered by Google App Engine
This is Rietveld 408576698