Changeset 234519 in webkit


Ignore:
Timestamp:
Aug 2, 2018 3:31:48 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Fix some builds after r234516
https://bugs.webkit.org/show_bug.cgi?id=188250

  • Platform/IPC/ArgumentCoders.h:

This assertion was comparing integers of different signs.
Since we don't allow exception throwing in WebKit, valueless_by_exception won't be true,
so this assertion will always be true. I'll just remove it.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r234518 r234519  
     12018-08-02  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix some builds after r234516
     4        ​https://bugs.webkit.org/show_bug.cgi?id=188250
     5
     6        * Platform/IPC/ArgumentCoders.h:
     7        This assertion was comparing integers of different signs.
     8        Since we don't allow exception throwing in WebKit, valueless_by_exception won't be true,
     9        so this assertion will always be true.  I'll just remove it.
     10
    1112018-08-02  Sihui Liu  <sihui_liu@apple.com>
    212
  • trunk/Source/WebKit/Platform/IPC/ArgumentCoders.h

    r234516 r234519  
    562562    static void encode(Encoder& encoder, const WTF::Variant<Types...>& variant)
    563563    {
    564         ASSERT(static_cast<unsigned>(variant.index()) == variant.index());
    565564        unsigned i = variant.index();
    566565        encoder << i;
Note: See TracChangeset for help on using the changeset viewer.