[Webkit-unassigned] [Bug 142225] [GTK] WebView should hold a reference on WebContext because non-default contexts are a reality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 03:20:37 PST 2015


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

--- Comment #8 from Debarshi Ray <rishi.is at lostca.se> ---
(In reply to comment #7)

> > Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:77
> > +    webContext = webkit_web_context_new();
> > +    webView = WEBKIT_WEB_VIEW(webkit_web_view_new_with_context(webContext.get()));
> > +    webView = nullptr;
> > +    webContext = nullptr;
> 
> What's the point of doing it twice?

The idea was to make sure that nothing untoward happens if the context is destroyed before with view and the other way round.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150304/8bd00a54/attachment-0002.html>


More information about the webkit-unassigned mailing list