Ignore:
Timestamp:
Jun 3, 2022, 9:13:00 AM (3 years ago)
Author:
Chris Dumez
Message:

Drop unnecessary operator==() overloads for String
https://bugs.webkit.org/show_bug.cgi?id=241235

Reviewed by Alex Christensen.

  • Source/WTF/wtf/text/WTFString.h:

(WTF::operator==):
(WTF::operator!=):

Canonical link: https://commits.webkit.org/251271@main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r294852 r295214  
    16691669        String type = callFrame->argument(1).toWTFString(globalObject);
    16701670        RETURN_IF_EXCEPTION(scope, encodedJSValue());
    1671         if (type != "binary")
     1671        if (type != "binary"_s)
    16721672            return throwVMError(globalObject, scope, "Expected 'binary' as second argument."_s);
    16731673        isBinary = true;
Note: See TracChangeset for help on using the changeset viewer.