[Webkit-unassigned] [Bug 194537] New: Simplify class name check

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 12 06:42:24 PST 2019


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

            Bug ID: 194537
           Summary: Simplify class name check
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bugzilla at hadess.net
                CC: bugs-noreply at webkitgtk.org

This line:
https://sources.debian.org/src/webkit2gtk/2.23.3-1/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp/#L1754
reads:
if (g_strcmp0(G_OBJECT_CLASS_NAME(G_OBJECT_GET_CLASS(G_OBJECT(element))), "GstDownloadBuffer"))

It could be simplified to:
if (g_strcmp0(G_OBJECT_TYPE_NAME(element)), "GstDownloadBuffer"))

-- 
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/20190212/363245aa/attachment.html>


More information about the webkit-unassigned mailing list