⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 275654 in webkit


Ignore:
Timestamp:
Apr 8, 2021, 1:38:57 AM (6 years ago)
Author:
calvaris@igalia.com
Message:

Unreviewed. Fixed build warning.

  • platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h: Avoid C-linkage warning.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r275652 r275654  
     12021-04-08  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        Unreviewed. Fixed build warning.
     4
     5        * platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h: Avoid C-linkage warning.
     6
    172021-04-07  Julian Gonzalez  <julian_a_gonzalez@apple.com>
    28
  • trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h

    r275599 r275654  
    4848
    4949bool webKitMediaCommonEncryptionDecryptIsFlushing(WebKitMediaCommonEncryptionDecrypt*);
    50 WeakPtr<WebCore::CDMProxyDecryptionClient> webKitMediaCommonEncryptionDecryptGetCDMProxyDecryptionClient(WebKitMediaCommonEncryptionDecrypt*);
    5150
    5251struct _WebKitMediaCommonEncryptionDecrypt {
    … …  
    6665G_END_DECLS
    6766
     67// This function returns a C++ type. It's internal to the decryptors so it is safe to move it here to avoid the C++ return warning because of the C only linkage
     68// area.
     69WeakPtr<WebCore::CDMProxyDecryptionClient> webKitMediaCommonEncryptionDecryptGetCDMProxyDecryptionClient(WebKitMediaCommonEncryptionDecrypt*);
     70
    6871#endif // ENABLE(ENCRYPTED_MEDIA) && USE(GSTREAMER)
Note: See TracChangeset for help on using the changeset viewer.