Do not compare OwnPtr to 0 in CachedResource.
Created attachment 29193 [details] The patch.
Comment on attachment 29193 [details] The patch. This looks wrong. Callers are supposed to compare OwnPtr to 0, and it's supposed to work properly and efficiently. Why isn't it working? That's what needs to be fixed, not call sites.
:)