⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245744 in webkit


Ignore:
Timestamp:
May 24, 2019, 12:54:16 AM (7 years ago)
Author:
ysuzuki@apple.com
Message:

Make display-profiler-output work with newer HighLine
https://bugs.webkit.org/show_bug.cgi?id=198205

Reviewed by Saam Barati.

Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine.

  • Scripts/display-profiler-output:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r245733 r245744  
     12019-05-24  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Make display-profiler-output work with newer HighLine
     4        https://bugs.webkit.org/show_bug.cgi?id=198205
     5
     6        Reviewed by Saam Barati.
     7
     8        Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine.
     9
     10        * Scripts/display-profiler-output:
     11
    1122019-05-23  Fujii Hironori  <Hironori.Fujii@sony.com>
    213
  • trunk/Tools/Scripts/display-profiler-output

    r226661 r245744  
    540540def screenWidth
    541541    if $stdin.tty?
    542         HighLine::SystemExtensions.terminal_size[0] - 3
     542        begin
     543            HighLine::SystemExtensions.terminal_size[0] - 3
     544        rescue
     545            HighLine::default_instance.terminal.terminal_size[0] - 3
     546        end
    543547    else
    544548        200
Note: See TracChangeset for help on using the changeset viewer.