[Webkit-unassigned] [Bug 173251] New: [GTK] getPage() in WebKitWebView should return a reference instead of a pointer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 12 02:50:33 PDT 2017


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

            Bug ID: 173251
           Summary: [GTK] getPage() in WebKitWebView should return a
                    reference instead of a pointer
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org, zan at falconsigh.net

The WebPageProxy is created on WebKitWebView construction, so getPage() can only return nullptr if it's called during construction. And that can only happen when construct properties are set. It's better to check that the view has been constructed only in these particular cases and make getPage() return a reference.

-- 
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/20170612/46987c21/attachment.html>


More information about the webkit-unassigned mailing list