Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2283)

Issue 5498100: Add NULL check to createPlatformTexture (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by bsalomon
Modified:
12 years, 10 months ago
Reviewers:
TomH
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/gpu/GrGpu.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bsalomon
This is causing crashes in the canary. I don't understand yet why the texture is ...
12 years, 10 months ago (2012-01-03 19:41:46 UTC) #1
TomH
Digging deeper: It looks like the callers are all several layers away in Chromium code. ...
12 years, 10 months ago (2012-01-03 19:49:23 UTC) #2
bsalomon
On 2012/01/03 19:49:23, TomH wrote: > Digging deeper: > > It looks like the callers ...
12 years, 10 months ago (2012-01-03 20:15:35 UTC) #3
TomH
Yes, this change is good. LGTM. But we (by which I suppose I mean you) ...
12 years, 10 months ago (2012-01-03 20:18:11 UTC) #4
bsalomon
12 years, 10 months ago (2012-01-03 21:10:39 UTC) #5
On 2012/01/03 20:18:11, TomH wrote:
> Yes, this change is good. LGTM.
> 
> But we (by which I suppose I mean you) should be getting somebody to fix the
> WebKit use case, or doing it (y)ourselves, right? I've already got my change
> blocking rolls, I'm hesitant to sign off on another change that would also be
> blocking rolls... :(

This code is only invoked in accel drawing so it shouldn't affect rolling skia.
It will defer a crash in that path. Making the caller NULL tolerant (and
figuring out why we get NULL with --use-gl=desktop in the first place) is being
investigated in here: http://crbug.com/109010

http://crbug.com/109010
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b