WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 84715
[chromium] Don't keep pointers to released layer tree
https://bugs.webkit.org/show_bug.cgi?id=84715
Summary
[chromium] Don't keep pointers to released layer tree
Sami Kyostila
Reported
2012-04-24 06:00:58 PDT
[chromium] Don't keep pointers to released layer tree
Attachments
Patch
(7.39 KB, patch)
2012-04-24 06:06 PDT
,
Sami Kyostila
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sami Kyostila
Comment 1
2012-04-24 06:06:15 PDT
Created
attachment 138546
[details]
Patch
Iain Merrick
Comment 2
2012-04-24 06:19:10 PDT
Looks good, nice catch. One small comment: is there a named constant you could use instead of -1?
Sami Kyostila
Comment 3
2012-04-24 06:25:26 PDT
Thanks for the review.
> One small comment: is there a named constant you could use instead of -1?
I wondered about the same and found out that -1 seems to be generally used as the "null" layer id in the Chromium compositor code. I guess it would be worth replacing those with a named constant, but I did not want to go there with this particular crash fix.
Adrienne Walker
Comment 4
2012-04-24 09:41:42 PDT
Comment on
attachment 138546
[details]
Patch If this wasn't a crash fix, I'd say you should fix the -1 in this patch, but I'd like to get this fixed sooner rather than later. Can you file a bug for changing -1 to a constant and assign it to yourself?
Nat Duca
Comment 5
2012-04-24 09:45:50 PDT
Comment on
attachment 138546
[details]
Patch Argh, bit by the releaseRootLayer feature AGAIN!
Sami Kyostila
Comment 6
2012-04-24 09:57:22 PDT
(In reply to
comment #4
)
> (From update of
attachment 138546
[details]
) > If this wasn't a crash fix, I'd say you should fix the -1 in this patch, but I'd like to get this fixed sooner rather than later. Can you file a bug for changing -1 to a constant and assign it to yourself?
Sure, done:
https://bugs.webkit.org/show_bug.cgi?id=84737
Sami Kyostila
Comment 7
2012-04-24 10:09:40 PDT
(In reply to
comment #5
)
> Argh, bit by the releaseRootLayer feature AGAIN!
It's a treacherous thing :( I think this particular bug would have been caught by running webkit_unit_tests with Valgrind -- any reason why we're not doing that?
WebKit Review Bot
Comment 8
2012-04-24 10:44:15 PDT
Comment on
attachment 138546
[details]
Patch Clearing flags on attachment: 138546 Committed
r115080
: <
http://trac.webkit.org/changeset/115080
>
WebKit Review Bot
Comment 9
2012-04-24 10:44:27 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug