Changeset 239317 in webkit


Ignore:
Timestamp:
Dec 17, 2018 8:39:35 PM (5 years ago)
Author:
Wenson Hsieh
Message:

Unreviewed, fix the iOSMac engineering build

generateRequestID() is only invoked from code under ENABLE(MEDIA_STREAM); move it under this guard to avoid
an unused function warning.

  • UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r239315 r239317  
     12018-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Unreviewed, fix the iOSMac engineering build
     4
     5        `generateRequestID()` is only invoked from code under `ENABLE(MEDIA_STREAM)`; move it under this guard to avoid
     6        an unused function warning.
     7
     8        * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
     9
    1102018-12-17  David Kilzer  <ddkilzer@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp

    r239006 r239317  
    4242#if ENABLE(MEDIA_STREAM)
    4343static const MediaProducer::MediaStateFlags activeCaptureMask = MediaProducer::HasActiveAudioCaptureDevice | MediaProducer::HasActiveVideoCaptureDevice;
    44 #endif
    4544
    4645static uint64_t generateRequestID()
     
    4948    return uniqueRequestID++;
    5049}
     50#endif
    5151
    5252UserMediaPermissionRequestManagerProxy::UserMediaPermissionRequestManagerProxy(WebPageProxy& page)
Note: See TracChangeset for help on using the changeset viewer.