Title: [118662] trunk/Source/WebCore
Revision
118662
Author
[email protected]
Date
2012-05-28 02:44:10 -0700 (Mon, 28 May 2012)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (118661 => 118662)


--- trunk/Source/WebCore/ChangeLog	2012-05-28 09:38:21 UTC (rev 118661)
+++ trunk/Source/WebCore/ChangeLog	2012-05-28 09:44:10 UTC (rev 118662)
@@ -1,3 +1,15 @@
+2012-05-28  Yury Semikhatsky  <[email protected]>
+
+        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):
+
 2012-05-28  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r118650.

Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (118661 => 118662)


--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2012-05-28 09:38:21 UTC (rev 118661)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2012-05-28 09:44:10 UTC (rev 118662)
@@ -304,6 +304,8 @@
     toggleRecordButton: function()
     {
         var isProfiling = this._selectedProfileType.buttonClicked();
+        this.recordButton.toggled = isProfiling;
+        this.recordButton.title = this._selectedProfileType.buttonTooltip;
         if (isProfiling)
             this._launcherView.profileStarted();
         else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to