[Webkit-unassigned] [Bug 58016] [EFL] Memory cache API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 23:56:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58016





--- Comment #7 from Grzegorz <g.czajkowski at samsung.com>  2011-04-12 23:56:13 PST ---
(From update of attachment 89181)
View in context: https://bugs.webkit.org/attachment.cgi?id=89181&action=review

>> Source/WebKit/efl/ewk/ewk_settings.cpp:355
>> +    EINA_SAFETY_ON_NULL_RETURN_VAL(cache, EINA_FALSE);
> 
> don't bother checking by NULL here. If it was NULL, it would not get to this point.

Could explain why we don't need to check NULL here, please?
Method memoryCache() is a singleton. It returns a pointer to the instance of WebCore's cache.
We can't trust what a pointer this method will return.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list