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

Changeset 118662 in webkit


Ignore:
Timestamp:
May 28, 2012, 2:44:10 AM (14 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: "Record CPU profile" button doesn't change its state after finishing profiling
https://bugs.webkit.org/show_bug.cgi?id=87624

Reviewed by Vsevolod Vlasov.

Keep record button state in sync with the current profiling state.

  • inspector/front-end/ProfilesPanel.js:

(WebInspector.ProfilesPanel.prototype.toggleRecordButton):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r118659 r118662  
     12012-05-28  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: "Record CPU profile" button doesn't change its state after finishing profiling
     4        https://bugs.webkit.org/show_bug.cgi?id=87624
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        Keep record button state in sync with the current profiling state.
     9
     10        * inspector/front-end/ProfilesPanel.js:
     11        (WebInspector.ProfilesPanel.prototype.toggleRecordButton):
     12
    1132012-05-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js

    r118504 r118662  
    305305    {
    306306        var isProfiling = this._selectedProfileType.buttonClicked();
     307        this.recordButton.toggled = isProfiling;
     308        this.recordButton.title = this._selectedProfileType.buttonTooltip;
    307309        if (isProfiling)
    308310            this._launcherView.profileStarted();
Note: See TracChangeset for help on using the changeset viewer.