Changeset 240017 in webkit


Ignore:
Timestamp:
Jan 15, 2019 4:08:52 PM (5 years ago)
Author:
eric.carlson@apple.com
Message:

Fix incorrect ASSERT added in r239840
https://bugs.webkit.org/show_bug.cgi?id=193466
<rdar://problem/47095142>

Reviewed by Youenn Fablet.

  • WebProcess/cocoa/UserMediaCaptureManager.cpp:

(WebKit::UserMediaCaptureManager::Source::Source):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r240016 r240017  
     12019-01-15  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Fix incorrect ASSERT added in r239840
     4        https://bugs.webkit.org/show_bug.cgi?id=193466
     5        <rdar://problem/47095142>
     6
     7        Reviewed by Youenn Fablet.
     8
     9        * WebProcess/cocoa/UserMediaCaptureManager.cpp:
     10        (WebKit::UserMediaCaptureManager::Source::Source):
     11
    1122019-01-15  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebKit/WebProcess/cocoa/UserMediaCaptureManager.cpp

    r239840 r240017  
    6363        , m_deviceType(deviceType)
    6464    {
    65         ASSERT(deviceType == CaptureDevice::DeviceType::Camera || deviceType == CaptureDevice::DeviceType::Screen || deviceType == CaptureDevice::DeviceType::Window);
     65        ASSERT(deviceType != CaptureDevice::DeviceType::Unknown);
    6666        if (type == Type::Audio)
    6767            m_ringBuffer = std::make_unique<CARingBuffer>(makeUniqueRef<SharedRingBufferStorage>(nullptr));
Note: See TracChangeset for help on using the changeset viewer.