[Webkit-unassigned] [Bug 65319] [GTK] Use GRefPtr for SOUP_TYPE_CONTENT_DECODER in WebKit2.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 3 05:44:39 PDT 2011


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





--- Comment #2 from Martin Robinson <mrobinson at webkit.org>  2011-08-03 05:44:39 PST ---
(From update of attachment 102257)
View in context: https://bugs.webkit.org/attachment.cgi?id=102257&action=review

> Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp:65
> -    soup_session_add_feature_by_type(session, SOUP_TYPE_CONTENT_DECODER);
> +    GRefPtr<SoupSessionFeature> decoder = adoptGRef(static_cast<SoupSessionFeature*>(g_object_new(SOUP_TYPE_CONTENT_DECODER, NULL)));
> +    soup_session_add_feature(session, decoder.get());

Why is this an improvement?

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