Changeset 79833 in webkit


Ignore:
Timestamp:
Feb 27, 2011 3:28:56 PM (13 years ago)
Author:
Adam Roben
Message:

Followup fix to r79827

  • DumpRenderTree/win/UIDelegate.cpp:

(UIDelegate::webViewAddMessageToConsole): Replaced call to urlSuitableForTestResult with
lastPathComponent. This matches what we did here before r79827, and matches Mac.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r79831 r79833  
     12011-02-27  Adam Roben  <aroben@apple.com>
     2
     3        Followup fix to r79827
     4
     5        * DumpRenderTree/win/UIDelegate.cpp:
     6        (UIDelegate::webViewAddMessageToConsole): Replaced call to urlSuitableForTestResult with
     7        lastPathComponent. This matches what we did here before r79827, and matches Mac.
     8
    192011-02-27  Dan Bernstein  <mitz@apple.com>
    210
  • trunk/Tools/DumpRenderTree/win/UIDelegate.cpp

    r62875 r79833  
    487487        size_t fileProtocol = newMessage.find(L"file://");
    488488        if (fileProtocol != wstring::npos)
    489             newMessage = newMessage.substr(0, fileProtocol) + urlSuitableForTestResult(newMessage.substr(fileProtocol));
     489            newMessage = newMessage.substr(0, fileProtocol) + lastPathComponent(newMessage.substr(fileProtocol));
    490490    }
    491491
Note: See TracChangeset for help on using the changeset viewer.