Ignore:
Timestamp:
Dec 13, 2016, 11:20:33 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r209792.
https://bugs.webkit.org/show_bug.cgi?id=165841

Cause build failures (Requested by yusukesuzuki on #webkit).

Reverted changeset:

"Use JSValue::toWTFString instead of calling toString(exec)
and value(exec)"
https://bugs.webkit.org/show_bug.cgi?id=165795
http://trac.webkit.org/changeset/209792

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/JSValueRef.cpp

    r209792 r209793  
    402402    JSValue jsValue = toJS(exec, value);
    403403   
    404     auto stringRef(OpaqueJSString::create(jsValue.toWTFString(exec)));
     404    auto stringRef(OpaqueJSString::create(jsValue.toString(exec)->value(exec)));
    405405    if (handleExceptionIfNeeded(exec, exception) == ExceptionStatus::DidThrow)
    406406        stringRef = nullptr;
Note: See TracChangeset for help on using the changeset viewer.