Bug 194091 - [MSE][GStreamer] Use reference instead of pointer in m_playerPrivate
Summary: [MSE][GStreamer] Use reference instead of pointer in m_playerPrivate
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alicia Boya García
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-31 08:04 PST by Alicia Boya García
Modified: 2019-02-05 08:03 PST (History)
4 users (show)

See Also:


Attachments
Patch (8.18 KB, patch)
2019-01-31 08:05 PST, Alicia Boya García
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alicia Boya García 2019-01-31 08:04:24 PST
Since the pointer is initialized with the class, it's never null and
never changes, it's preferrable to use a reference instead of a
pointer.
Comment 1 Alicia Boya García 2019-01-31 08:05:54 PST
Created attachment 360727 [details]
Patch
Comment 2 WebKit Commit Bot 2019-01-31 09:02:35 PST
Comment on attachment 360727 [details]
Patch

Clearing flags on attachment: 360727

Committed r240790: <https://trac.webkit.org/changeset/240790>
Comment 3 WebKit Commit Bot 2019-01-31 09:02:36 PST
All reviewed patches have been landed.  Closing bug.