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

Issue 216733002: Reduce the scope of CGL current contexts (Closed)

Created:
6 years, 9 months ago by ccameron
Modified:
6 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Reduce the scope of CGL current contexts There are a few crash reports coming in where the destructor ~ScopedCGLSetCurrentContext is being implicated inside CompositorSwapBuffers. Reduce the scope of the ScopedCGLSetCurrentContext in CompositorSwapBuffers. At a minimum, this will make the crash reports reveal which place is causing problems. At a maximum, this may fix the issue (in particular, LayoutLayers may call displayIfNeeded, which may mess with the current context, potentially causing crashes, as ScopedCGLSetCurrentContext does not expect this). BUG=245900 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260448

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove DCHECK #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 3 3 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
ccameron
I'd like to squeeze this one in before the branch is cut this afternoon. https://codereview.chromium.org/216733002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm ...
6 years, 9 months ago (2014-03-28 10:01:48 UTC) #1
Ken Russell (switch to Gerrit)
LGTM https://codereview.chromium.org/216733002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/216733002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1340 content/browser/renderer_host/render_widget_host_view_mac.mm:1340: DCHECK(!CGLGetCurrentContext()); Have you run a debug build with ...
6 years, 9 months ago (2014-03-28 16:18:41 UTC) #2
ccameron
Thanks! https://codereview.chromium.org/216733002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/216733002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1340 content/browser/renderer_host/render_widget_host_view_mac.mm:1340: DCHECK(!CGLGetCurrentContext()); On 2014/03/28 16:18:41, Ken Russell wrote: > ...
6 years, 9 months ago (2014-03-28 16:22:49 UTC) #3
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 16:22:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/216733002/10001
6 years, 9 months ago (2014-03-28 16:27:24 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 17:41:22 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-28 17:41:22 UTC) #7
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 17:44:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/216733002/10001
6 years, 9 months ago (2014-03-28 17:46:04 UTC) #9
Ken Russell (switch to Gerrit)
On 2014/03/28 17:41:22, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-28 17:57:31 UTC) #10
Avi (use Gerrit)
On 2014/03/28 17:57:31, Ken Russell wrote: > On 2014/03/28 17:41:22, I haz the power (commit-bot) ...
6 years, 9 months ago (2014-03-28 18:00:43 UTC) #11
Ken Russell (switch to Gerrit)
On 2014/03/28 18:00:43, Avi wrote: > On 2014/03/28 17:57:31, Ken Russell wrote: > > On ...
6 years, 9 months ago (2014-03-28 18:03:34 UTC) #12
ccameron
On 2014/03/28 18:03:34, Ken Russell wrote: > On 2014/03/28 18:00:43, Avi wrote: > > On ...
6 years, 9 months ago (2014-03-28 18:25:13 UTC) #13
ccameron
The CQ bit was unchecked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 18:32:59 UTC) #14
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 18:33:27 UTC) #15
ccameron
The CQ bit was unchecked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 18:33:27 UTC) #16
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 18:35:01 UTC) #17
ccameron
The CQ bit was unchecked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 21:45:33 UTC) #18
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 9 months ago (2014-03-28 21:45:54 UTC) #19
cmp
The CQ bit was unchecked by cmp@chromium.org
6 years, 8 months ago (2014-03-30 17:01:12 UTC) #20
cmp
The CQ bit was checked by cmp@chromium.org
6 years, 8 months ago (2014-03-30 17:05:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/216733002/50001
6 years, 8 months ago (2014-03-30 17:06:03 UTC) #22
commit-bot: I haz the power
6 years, 8 months ago (2014-03-30 17:29:43 UTC) #23
Message was sent while issue was closed.
Change committed as 260448

Powered by Google App Engine
This is Rietveld 408576698