[Webkit-unassigned] [Bug 113284] [EFL] Add method in ewk_settings for setting the CSS media type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 18 08:31:36 PDT 2013


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





--- Comment #18 from Christophe Dumez <dchris at gmail.com>  2013-04-18 08:29:53 PST ---
(From update of attachment 198699)
View in context: https://bugs.webkit.org/attachment.cgi?id=198699&action=review

> Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp:429
> +    const char* overrideType = ewk_settings_css_media_type_get();

or simply return String::fromUTF8(ewk_settings_css_media_type_get());

Passing 0 to String::fromUTF8() will return String().

> Source/WebKit/efl/ewk/ewk_settings.h:407
> + * @return css media type set by user or @c NULL if none is set

We usually document that the returned string is an eina stringshare. Please use other APIs as reference.

-- 
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