[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
Tue Mar 3 11:42:54 PST 2015


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

--- Comment #3 from Martin Robinson <mrobinson at webkit.org> ---
Comment on attachment 247772
  --> https://bugs.webkit.org/attachment.cgi?id=247772
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=247772&action=review

> Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:70
> +    GRefPtr<WebKitWebContext> webContext = webkit_web_context_new();
> +    GRefPtr<WebKitWebView> webView = WEBKIT_WEB_VIEW(webkit_web_view_new_with_context(webContext.get()));

I think you might be leaking webContext here, because you didn't use adoptGRef.

-- 
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/20150303/e0e3b6d7/attachment-0002.html>


More information about the webkit-unassigned mailing list