[go: nahoru, domu]

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

Issue 3549018: Fixed crash when GetClientRect fails.... (Closed)

Created:
10 years, 2 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fixed crash when GetClientRect fails. There is a known race condition with windows being destroyed while the GPU process has a live handle to them. This change treats destroyed windows as having size zero rather than crashing. TEST=try BUG=58065 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61702

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M app/gfx/gl/gl_context_egl.cc View 1 chunk +5 lines, -1 line 1 comment Download

Messages

Total messages: 3 (0 generated)
apatrick_chromium
10 years, 2 months ago (2010-10-06 01:30:31 UTC) #1
Ken Russell (switch to Gerrit)
LGTM http://codereview.chromium.org/3549018/diff/1/2 File app/gfx/gl/gl_context_egl.cc (right): http://codereview.chromium.org/3549018/diff/1/2#newcode183 app/gfx/gl/gl_context_egl.cc:183: DCHECK(false) << "GetClientRect failed."; Given this fix, do ...
10 years, 2 months ago (2010-10-06 17:53:49 UTC) #2
apatrick
10 years, 2 months ago (2010-10-06 17:57:58 UTC) #3
On Wed, Oct 6, 2010 at 10:53 AM, <kbr@chromium.org> wrote:

> LGTM
>
>
>
> http://codereview.chromium.org/3549018/diff/1/2
> File app/gfx/gl/gl_context_egl.cc (right):
>
> http://codereview.chromium.org/3549018/diff/1/2#newcode183
> app/gfx/gl/gl_context_egl.cc:183: DCHECK(false) << "GetClientRect
> failed.";
> Given this fix, do you still want to assert in debug builds?
>
>
> http://codereview.chromium.org/3549018/show
>

Yes, it's a legitimate bug. I don't want to hide it.

Powered by Google App Engine
This is Rietveld 408576698